Get Usage
Return request and document counts for the current API key, both for the current calendar month and all-time.Endpoint
GET /api/v1/usage
Counters in this response have two scopes. Per-key:
requests, ingests, queries reflect just what this API key has done. Per-workspace: pages, audio_seconds, and documents_stored reflect the workspace the key belongs to (across all keys and in-app activity).Response
object
Example
Get Rate Limits
Return the rate-limit thresholds for your plan and how much capacity remains right now.Endpoint
GET /api/v1/rate-limits
Response
object
Hard limits for your plan (requests per minute, per month, etc.)
object
Real-time headroom — how much capacity remains in each window.
object
ISO 8601 timestamps of when each counter resets.
Example
Rate limits are informational — the API does not block requests when limits are reached, but you should monitor these values and implement back-off logic in production integrations.
