Skip to main content
All errors use a uniform envelope:
details is omitted when absent. The API uses a minimal HTTP status scheme — 400 for request errors, 401 for auth failures, 429 for rate limiting, and 500 for server errors. The precise error is always in the error.code field.

API errors

These apply to /api/v1/swap and general auth/rate-limit handling.

Deploy errors

/api/v1/deploy uses the same { success, error: { code, message, details? } } envelope but with deploy-specific codes: