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

LimitValue
Authenticated requests120 per minute per workspace
Unauthenticated requests (discovery endpoints)240 per minute per IP
JSON request body512 KiB
Brand images2 MiB (PNG, JPEG, WebP)
Recording and API media uploads64 MiB. The browser upload path allows a larger file (500 MB)
Observation CSV10 MiB
Active jobs3 queued or running per workspace
List page sizelimit 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".

ConditionStatuserror
The request does not match the operation, or a path id is invalid400Invalid request. plus fields, a list of {path, message}
A second check of the body fails400Validation failed, with no field list
Malformed JSON400Invalid JSON.
Query parameter is not one string, or is longer than 2000 characters (target_ids on the two article decision routes allows 20199)400Query parameters must be single bounded strings.
Body over 512 KiB413Request body exceeds the size limit.
Upload content type is wrong400Unsupported upload content type.
Upload too large413Upload exceeds the size limit.
Missing or bad API key401The key message from the server
Key lacks the scope403The message names the scope the key is missing
No matching operation404API operation not found
A duplicate of an existing item409An item with those details already exists.
A referenced resource is missing or still in use400A referenced resource is unavailable or still in use.
Any other expected error below 500that statusThe error message for that case. Extra detail is not included
Industry research could not finish502 or 503error, 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 5xx500Internal 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

LimitValue
Per IP240 requests per minute. 429 Request limit reached. and Retry-After: 60
Per workspace120 requests per minute. 429 Workspace API limit reached (120 requests/minute).
Active API jobs3. 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.

On this page