Skip to main content

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

FieldTypeDescription
tierstringCurrent plan tier
api_callsobject{ current, used, limit, unlimited }
memoriesobject{ current, used, limit, unlimited }
rollbacksobject{ current, used, limit, unlimited }
audit_retention_daysnumberAudit log retention
featuresobjectFeature flags for your plan
periodstringBilling period (YYYY-MM)
resets_atstring | nullNext reset timestamp (ISO 8601)
usage_pressure_levelstringlow, medium, high, or critical
projected_limit_datestring | nullProjected quota exhaustion date
budget_alertbooleanWhether budget is exceeded
spend_estimateobject{ spend_estimate_usd, projected_spend_estimate_usd, storage_estimate_usd }
quota_percentobject{ api_calls, memories, rollbacks } as percentages
upgrade_messagestring | nullTier-specific upgrade prompt

Examples

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']}")

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

FieldTypeDescription
memory_countnumberTotal stored memories
tierstringCurrent plan
featuresobjectFeature flags
usage_percentobject{ api_calls, memories, rollbacks } as percentages
pressurestringlow, medium, high, or critical
api_calls_todaynumberAPI calls made today
limitsobject{ api_calls, memories, rollbacks }
periodstringBilling period (YYYY-MM)

Examples

dashboard = nx.dashboard()
print(f"Memories: {dashboard['memory_count']}")
print(f"Pressure: {dashboard['pressure']}")

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"
}