API Rate Limits, Size Limits and Error Codes
FoxCue API limits: 120 requests per minute per workspace, 512 KiB JSON bodies, 64 MiB uploads, 3 active jobs, plus how errors and 409 conflicts work.
The FoxCue API limits how often you can call it, how big requests can be, and how many jobs can run at once. Errors never include internal details or credentials.
Limits
| Limit | Value |
|---|---|
| Authenticated requests | 120 per minute per workspace |
| Unauthenticated requests (discovery endpoints) | 240 per minute per IP |
| JSON request body | 512 KiB |
| Brand images | 2 MiB (PNG, JPEG, WebP) |
| Recording and API media uploads | 64 MiB. The browser upload path allows a larger file (500 MB) |
| Observation CSV | 10 MiB |
| Active jobs | 3 queued or running per workspace |
| List page size | limit 1–100, default 50 |
Error envelope
Every error from /api/v1 is JSON:
{ "error": "message", "request_id": "uuid" }request_id is a UUID. Quote it when you report a problem. 401 responses also send WWW-Authenticate: Bearer realm="FoxCue API", error="invalid_token".
| Condition | Status | error |
|---|---|---|
| The request does not match the operation, or a path id is invalid | 400 | Invalid request. plus fields, a list of {path, message} |
| A second check of the body fails | 400 | Validation failed, with no field list |
| Malformed JSON | 400 | Invalid JSON. |
Query parameter is not one string, or is longer than 2000 characters (target_ids on the two article decision routes allows 20199) | 400 | Query parameters must be single bounded strings. |
| Body over 512 KiB | 413 | Request body exceeds the size limit. |
| Upload content type is wrong | 400 | Unsupported upload content type. |
| Upload too large | 413 | Upload exceeds the size limit. |
| Missing or bad API key | 401 | The key message from the server |
| Key lacks the scope | 403 | The message names the scope the key is missing |
| No matching operation | 404 | API operation not found |
| A duplicate of an existing item | 409 | An item with those details already exists. |
| A referenced resource is missing or still in use | 400 | A referenced resource is unavailable or still in use. |
| Any other expected error below 500 | that status | The error message for that case. Extra detail is not included |
| Industry research could not finish | 502 or 503 | error, plus code: research_not_configured, research_credential_unavailable, research_provider_rejected, research_provider_unavailable, research_response_invalid, research_no_citations, or research_incomplete |
| Anything else, including other 5xx | 500 | Internal server error. |
Any other server failure, including a job that cannot start because no AI provider is configured, is 500 Internal server error. The research codes above are the exception and stay 502 or 503.
Lists
The ten resource lists and GET /jobs take limit (integer 1–100, default 50) and offset (integer 0–1000000, default 0). The body is a bare JSON array. There is no total and no cursor.
Some performance and observation routes return an object with items, limit, offset and has_more instead of a bare array. Each operation page says which.
Library mount
/api/v1/library is a separate set of routes. JSON bodies there are limited to 5 MB. GET needs library:read. Other methods need library:write. It still uses this error envelope.
Rate limits
| Limit | Value |
|---|---|
| Per IP | 240 requests per minute. 429 Request limit reached. and Retry-After: 60 |
| Per workspace | 120 requests per minute. 429 Workspace API limit reached (120 requests/minute). |
| Active API jobs | 3. 429 This workspace already has three active API jobs. Poll or cancel them first. |
Failed jobs report a redacted error_code. Check AI provider setup in the app if a job fails with a provider error.