For AI agents: this page is also available as Markdown at https://docs.refabric.com/api-reference/platform/account/read-your-limits.md, and the index of every page is https://docs.refabric.com/llms.txt.
Platform API › Account
Read your limits
The request-rate limits that apply to you, read live. The figures are this answer's; as_of is when they were read.
https://api.refabric.com/v1/account/limitsimport os
import requests
url = "https://api.refabric.com/v1/account/limits"
headers = {"Authorization": f"Key {os.environ['REFABRIC_API_KEY']}"}
response = requests.get(url, headers=headers)
print(response.json()){
"as_of": "2026-10-05T12:00:00Z",
"rate_limits": [
{
"limit": 600,
"per": "api_key",
"window_seconds": 60
},
{
"limit": 120,
"per": "ip",
"window_seconds": 60
}
]
}Authentication. A key with account:read: the limits are the ones that apply to you.
Common use cases
- Pace a batch so it stays under your limit.
Conflicts. Over a limit, a call answers 429 with Retry-After.
See also
GET /v1/meta
Authorization
Authorization: Key $REFABRIC_API_KEYScope: account:read
Parameters
Header parameters
- stringoptional
The contract version you wrote against (a date). Absent: the current version.
format: date
- stringoptional
Your own id for this request; we answer it back under X-Client-Request-ID.
max length 128
Response
200 — Done: the answer is in the body.
- stringrequired
The moment these figures were read (UTC, ISO-8601).
Example:
2026-10-05T12:00:00Z - array<object>required
The request-rate allowances: one per key, and one per IP for keyless calls.
Example:
[{"limit":600,"per":"api_key","window_seconds":60},{"limit":120,"per":"ip","window_seconds":60}]- stringrequired
What the allowance is counted for.
Values
api_key— Each of your keys, on every operation that takes a key.ip— The calling IP address, on the operations that take no key.
Example:
api_key - integerrequired
Calls allowed in one window; one more answers
429withRetry-After.Example:
600 - integerrequired
The window's length in seconds.
Example:
60
- 401 — No valid API key was sent.
- 403 — Your key or your plan does not allow this.
- 429 — Too many requests: wait for the number of seconds in the Retry-After header.
- 500 — Something went wrong on our side; retry, and quote the request id if it keeps happening.