Get spend limits
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/organizations/spend_limitsReturn every monthly usage-credit limit (organization, workspaces, groups and members) with this month’s spend against each. Plan-covered usage never counts towards these limits.
For how this fits into a full workflow, see Spend limits.
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. |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
scope | string | organization, workspace, member or group to narrow the response. |
Response
200 OK, Content-Type: application/json
{
"type": "spend_limits",
"period": {
"starting_at": "2026-11-01T00:00:00Z",
"ending_at": "2026-12-01T00:00:00Z"
},
"credits_enabled": true,
"multi_group_policy": "lower",
"organization": {
"monthly_limit_usd": "500.00",
"spent_usd": "212.4031"
},
"workspaces": [
{
"workspace_id": "wrkspc_01JC0A2C4E6G8J0L2N4Q",
"monthly_limit_usd": "400.00",
"spent_usd": "198.1022"
}
],
"groups": [
{
"group_id": "grp_01JB4D6F8H0K2M4P6R8T",
"name": "Contractors",
"monthly_limit_usd": "20.00"
}
],
"members": [
{
"user_id": "user_01J9Y0A2C4E6G8J0L2N4",
"monthly_limit_usd": null,
"inherited_limit_usd": "20.00",
"inherited_from_group_id": "grp_01JB4D6F8H0K2M4P6R8T",
"effective_limit_usd": "20.00",
"spent_usd": "6.2200"
}
]
}| Field | Type | Description |
|---|---|---|
period | object | The current calendar month in UTC; every limit resets at its end. |
multi_group_policy | string | higher or lower: which group limit applies to a member in several limited groups. |
groups[].monthly_limit_usd | string | Applies to each member of the group separately, not to the group’s total. |
members[].effective_limit_usd | string or null | The limit enforced for that member. |
Examples
curl -sS https://app.syntic.ai/v1/organizations/spend_limits \
-H "Authorization: Bearer $SYNTIC_ADMIN_KEY" \
-H "syntic-beta: admin-2026-11-01"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. |
| 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. |
Related
Was this page helpful?