Usage
Check the limits currently enforced by the backend. Today this endpoint reports API calls, stored memories, rollback usage, audit retention, and feature flags. It does not yet report protected-action volume, seats, connectors, or approval environments.
Base URL: https://novyx-ram-api.fly.dev
Tier: All
Get Usage
GET /v1/usage
Get your current backend-enforced usage and limits for the billing period.
Response fields
| Field | Type | Description |
|---|---|---|
tier | string | Current plan tier |
api_calls | object | { current, used, limit, unlimited } |
memories | object | { current, used, limit, unlimited } |
rollbacks | object | { current, used, limit, unlimited } |
audit_retention_days | number | Audit log retention |
features | object | Feature flags for your plan |
period | string | Billing period (YYYY-MM) |
resets_at | string | null | Next reset timestamp (ISO 8601) |
usage_pressure_level | string | low, medium, high, or critical |
projected_limit_date | string | null | Projected quota exhaustion date |
budget_alert | boolean | Whether budget is exceeded |
spend_estimate | object | { spend_estimate_usd, projected_spend_estimate_usd, storage_estimate_usd } |
quota_percent | object | { api_calls, memories, rollbacks } as percentages |
upgrade_message | string | null | Tier-specific upgrade prompt |
Examples
- Python
- TypeScript
- curl
from novyx import Novyx
nx = Novyx(api_key="nram_your_key")
usage = nx.usage()
print(f"Plan: {usage['tier']}")
print(f"API calls: {usage['api_calls']['current']}/{usage['api_calls']['limit']}")
print(f"Memories: {usage['memories']['current']}/{usage['memories']['limit']}")
print(f"Pressure: {usage['usage_pressure_level']}")
import { Novyx } from "novyx";
const nx = new Novyx({ apiKey: "nram_your_key" });
const usage = await nx.usage();
console.log(`Plan: ${usage.tier}`);
console.log(`API calls: ${usage.api_calls.current}/${usage.api_calls.limit}`);
console.log(`Memories: ${usage.memories.current}/${usage.memories.limit}`);
curl https://novyx-ram-api.fly.dev/v1/usage \
-H "Authorization: Bearer nram_your_key"
Response
{
"tier": "starter",
"api_calls": { "current": 1250, "used": 1250, "limit": 50000, "unlimited": false },
"memories": { "current": 87, "used": 87, "limit": 50000, "unlimited": false },
"rollbacks": { "current": 3, "used": 3, "limit": 50, "unlimited": false },
"audit_retention_days": 30,
"features": {
"conflict_resolution": true,
"knowledge_graph": true,
"trace_audit": true,
"governance_dashboard": true,
"teams": false
},
"period": "2026-03",
"resets_at": "2026-04-01T00:00:00Z",
"usage_pressure_level": "low",
"projected_limit_date": null,
"budget_alert": false,
"spend_estimate": {
"spend_estimate_usd": 0.0,
"projected_spend_estimate_usd": 0.0,
"storage_estimate_usd": 0.0
},
"quota_percent": {
"api_calls": 2.5,
"memories": 0.2,
"rollbacks": 6.0
},
"upgrade_message": null
}
Dashboard
GET /v1/dashboard
Get a compact summary of your account for dashboard UIs.
Response fields
| Field | Type | Description |
|---|---|---|
memory_count | number | Total stored memories |
tier | string | Current plan |
features | object | Feature flags |
usage_percent | object | { api_calls, memories, rollbacks } as percentages |
pressure | string | low, medium, high, or critical |
api_calls_today | number | API calls made today |
limits | object | { api_calls, memories, rollbacks } |
period | string | Billing period (YYYY-MM) |
Examples
- Python
- TypeScript
- curl
dashboard = nx.dashboard()
print(f"Memories: {dashboard['memory_count']}")
print(f"Pressure: {dashboard['pressure']}")
const dashboard = await nx.dashboard();
console.log(`Memories: ${dashboard.memory_count}`);
console.log(`Pressure: ${dashboard.pressure}`);
curl https://novyx-ram-api.fly.dev/v1/dashboard \
-H "Authorization: Bearer nram_your_key"
Response
{
"memory_count": 87,
"tier": "starter",
"features": {
"conflict_resolution": true,
"knowledge_graph": true,
"trace_audit": true,
"governance_dashboard": true,
"teams": false
},
"usage_percent": {
"api_calls": 2.5,
"memories": 0.2,
"rollbacks": 6.0
},
"pressure": "low",
"api_calls_today": 42,
"limits": {
"api_calls": 50000,
"memories": 50000,
"rollbacks": 50
},
"period": "2026-03"
}