REST error shape
All REST errors return a JSON body with a singleerror field:
REST status codes
Example error response:
WebSocket error messages
error messages indicate protocol or transport-level problems. They are not tied to a specific trading operation.
Example:
WebSocket reject messages
reject messages indicate a trading operation was refused. Each reject includes the original op, the request_id from your message, and a machine-readable code.
Example:
Health degradation
TheGET /health endpoint reflects persistence state in the status field:
Example degraded response: