Skip to content

Developer portal

API conventions

Cross-endpoint behaviors that keep enterprise integrations predictable and supportable.

Last updated: 2026-06-09

Pagination

Collection endpoints use cursor-based pagination when result sets can grow materially over time. Responses include an opaque cursor token for the next page and stable ordering guarantees for deterministic sync loops.

GET /v1/pqc/inventory?limit=100&cursor=eyJvZmZzZXQiOjEwMH0=
{
  "items": [...],
  "nextCursor": "eyJvZmZzZXQiOjIwMH0=",
  "hasMore": true
}

Idempotency for writes

For mutation endpoints, include Idempotency-Key to guarantee replay-safe behavior when clients retry after network interruptions.

Request and response headers

FieldTypeRequiredDescription
AuthorizationBearer <api_key>Yes

Tenant API key with scope appropriate for the endpoint group.

Idempotency-KeystringNo

Required for create and mutate calls where safe retries are needed.

X-Request-IdstringNo

Client-generated correlation id echoed by the API and included in audit trails.

Content-Typeapplication/jsonYes

Default request media type unless endpoint docs specify multipart or alternative formats.

Content types

  • Default request and response media type is application/json; charset=utf-8.
  • File uploads use multipart/form-data when documented on the endpoint.
  • Report exports may return binary content with explicit Content-Type and Content-Disposition headers.

Retries and backoff

FieldTypeRequiredDescription
429 Too Many RequestsretryableYes

Retry with exponential backoff and jitter after honoring server pacing guidance.

500 Internal Server ErrorretryableYes

Retry with bounded attempts. Escalate with request id if persistent.

502/503/504retryableYes

Retryable infrastructure/transient errors. Prefer capped exponential backoff.

400/401/403/404non-retryableYes

Do not blind-retry. Fix auth, permissions, input shape, or resource id first.