Skip to main content
Agents: the full documentation index is at /llms.txt.
Every error has the same shape. Branch on error.code, never on the message, which can change.
Quote meta.request_id when you contact support. Some responses also carry meta.correlation_id; treat it as the same value.

Codes

CLI and MCP

The CLI prints revcenter: <code>: <message> and exits 1; the MCP server returns the same code and message as an error result. The CLI’s own codes are in CLI basics.

Which requests are safe to retry

Idempotency keys

An Idempotency-Key is 8 to 160 printable characters, belongs to the workspace, and is kept for good. Revcenter remembers the request it was first used for: the route, the project and the body (the order of keys in the JSON doesn’t matter).
Use a key that names one piece of work, such as nightly-<requisition id>, and a new key for a new search. Two attempts sent at the same moment with the same key make one search. Retry 429 after Retry-After and 5xx with backoff. Don’t retry other 4xx unchanged: fix the request.