Set workspace rate limits
⚠️
Preview — this feature is being built; the design below is the spec.
PUT https://app.syntic.ai/v1/organizations/workspaces/{workspace_id}/rate_limitsCap one workspace below the organization’s limits, per model, so a batch job in staging cannot use production’s headroom. The list replaces any previous overrides; limits left out of an entry follow the organization. Changes reach the limiter within 60 seconds.
For how this fits into a full workflow, see Rate-limit info.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <admin key>: an Admin API key (sk_admin_...). Inference keys are refused with 403 admin_key_required. See Admin API keys. |
syntic-beta | Yes, while in preview | admin-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Content-Type | Yes | application/json |
Path parameters
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | The workspace id, starting with wrkspc_. |
Body parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
overrides | array | Yes | Entries of {model, requests_per_minute?, input_tokens_per_minute?, output_tokens_per_minute?}. |
Response
200 OK, Content-Type: application/json
{
"type": "workspace_rate_limits",
"workspace_id": "wrkspc_01JC0A2C4E6G8J0L2N4Q",
"data": [
{
"model": "Amara S1.2",
"requests_per_minute": 100,
"input_tokens_per_minute": 50000,
"output_tokens_per_minute": 80000
}
],
"overrides": [
{
"model": "Amara S1.2",
"requests_per_minute": 100,
"input_tokens_per_minute": 50000
}
]
}Examples
curl -sS -X PUT https://app.syntic.ai/v1/organizations/workspaces/wrkspc_01JC0A2C4E6G8J0L2N4Q/rate_limits \
-H "Authorization: Bearer $SYNTIC_ADMIN_KEY" \
-H "syntic-beta: admin-2026-11-01" \
-H "Content-Type: application/json" \
-d '{
"overrides": [
{
"model": "Amara S1.2",
"requests_per_minute": 100,
"input_tokens_per_minute": 50000
}
]
}'Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 400 | invalid_request_error | override_above_org_limit | A cap above the organization’s limit. |
| 400 | invalid_request_error | unknown_model | Model not in the catalog. |
| 404 | not_found_error | workspace_not_found | No workspace with that id in the organization. |
| 403 | permission_error | role_required | The admin key’s creator does not have the role this needs. |
| 401 | authentication_error | invalid_api_key | The admin key is missing, unknown, revoked or expired. |
| 403 | permission_error | admin_key_required | An inference key was used. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?