Skip to main content

Error format

Errors use standard HTTP status codes and a JSON body:
  • detail is a readable message you can log or show.
  • error_code is stable: use it in code instead of matching the text. Every code is listed in Error codes.

Status codes

Rate limits

Each key may send 600 requests per minute. Above that the API answers 429 with:
Retry after a short pause, with exponential backoff:

Pagination

Used by GET /app/list and GET /credits/ledger. Pass page (from 1) and page_size. The response includes total and total_pages.