For the complete documentation index, see llms.txt. This page is also available as Markdown.

Errors

The REST API returns errors as a flat JSON object.

Error Format

{
  "statusCode": 401,
  "code": "UNAUTHENTICATED",
  "message": "Human-readable description",
  "details": {}
}

details is optional and present only for some errors (e.g. validation, rate limiting).

HTTP Status Codes

Status
Code
Description

400

VALIDATION_ERROR

Malformed request or invalid parameters

401

UNAUTHENTICATED

Invalid or missing authentication

401

CLI_SIG_INVALID

Signed-request signature failed verification

401

CLI_IDENTITY_UNKNOWN

The public key is not registered

403

FORBIDDEN

Insufficient permissions

404

NOT_FOUND

Resource not found

409

CONFLICT

Resource already exists or state conflict

429

RATE_LIMITED

Too many requests

500

INTERNAL_ERROR

Unexpected server error

503

SERVICE_UNAVAILABLE

An upstream dependency is unavailable

Validation Errors

Validation errors include field-level details:

Rate-Limit Errors

GraphQL Errors

GraphQL responses use the standard errors array:

Many GraphQL operations also return a success/error envelope inside data:

Last updated

Was this helpful?