Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Rate limit
To keep the service stable, RyzeAPI applies a per-minute request limit. The limit is counted per token: everyone using the same token shares the same bucket.| Request type | Default limit |
|---|---|
| Most endpoints | 100 requests per minute |
Instance creation (POST /api/instance/new) | 20 requests per minute |
If you need a higher limit for your account, contact support.
Rate limit headers
All responses (including successful ones) include three headers that let your client adapt:| Header | Meaning |
|---|---|
X-RateLimit-Limit | Maximum limit in the current period (e.g., 100) |
X-RateLimit-Remaining | How many requests are still available |
X-RateLimit-Reset | Unix timestamp (seconds) of when the counter resets |
What happens when you exceed it
The API responds withHTTP 429 Too Many Requests:
X-RateLimit-* headers continue to be sent, use X-RateLimit-Reset to know when you can try again.
Handling example
CORS
If you are calling the API from a browser (JavaScript running on a web page), you need to be mindful of CORS.Allowed origins
RyzeAPI accepts requests only from the origins authorized for your account. Unauthorized origins receive the classic CORS error in the browser console:Accepted methods and headers
The API responds to the preflight (OPTIONS) with the following headers:
Content-Type, Authorization, or token headers.
No cookies
RyzeAPI does not use cookies for authentication, the token goes in thetoken header. Therefore, it is not necessary (and not supported) to send credentials: "include" in fetch requests.
WebSocket in browser
Since browser JavaScript does not allow customizing headers innew WebSocket(...), the only way to authenticate is via the query string:
Checklist
Implement backoff based on
X-RateLimit-Remaining so you do not get blocked.Handle
HTTP 429 by retrying after X-RateLimit-Reset.If you use the browser, ask support to add your origin to the allowlist.
For WebSocket in the browser, pass the token via
?token= in the URL.