Skip to navigation

Get the rate limits

The rate limits of the caller, for each minute: the numbers of the key’s workspace and of the key. Before the plan switch is on, tier is standard; in announced, pending holds the plan numbers and their start date. After that start date passes, until Rasen turns the switch on, the standard numbers still apply and pending is null. When the switch is on, tier is the plan code and pending holds a later limit version with its date, or null. Counted as a read of the workspace and the key. Needs usage.read.

Authentication

AuthorizationBearer

Create and manage workspace-owned keys through the existing app session routes, outside this public API. Creator and manager identities are audit actors only. Key validity follows workspace policy, expiry and explicit revocation, independently of creator membership. Do not include a workspace-selection header.

Response headers

X-Request-IdstringOptional
Safe server request correlation ID.
RateLimit-LimitintegerOptional
Requests allowed in the current window for the tightest applicable limit.
RateLimit-RemainingintegerOptional
Requests left in the current window.
RateLimit-ResetintegerOptional
Seconds until the current window resets.

Response

The rate limits.
tierstring

standard, or the plan code whose numbers apply now (flex is Pay as you go). Open response vocabulary. Preserve unknown values.

switchstring

The plan switch. off: the standard numbers. announced: the standard numbers, and pending holds the plan numbers until their start date; after it, until Rasen turns the switch on, pending is null. on: the plan numbers. Open response vocabulary.

scopestring

workspace: the numbers of one workspace and of the key in it. organisation: the numbers of the organisation of an organisation key. Open response vocabulary.

activeobject
The numbers that are enforced now.
pendingobject or null

Null, or the numbers that will be enforced, with effective_at.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error