Pagination
Most list endpoints support offset-based pagination:
Responses include pagination metadata:
total and has_more to build page controls or iterate through all results:
Cursor pagination
Some endpoints use cursor-based pagination instead:
The response includes
next_page_token when more results exist:
Organization header
IncludeX-Organization-Id to scope requests to an organization’s resources:
Timestamps
All timestamps are ISO 8601 in UTC:created_at and updated_at follow this format. updated_at is null when the resource has never been modified after creation.
Content types
Most endpoints accept and return
application/json. File upload endpoints (e.g. session file write) accept multipart/form-data.
Idempotency
ForPOST requests that create resources, you can include an Idempotency-Key header to prevent duplicate creation on retries:
Idempotency-Key is sent within 24 hours, the API returns the original response without creating a duplicate resource. Keys are scoped to the API key that sent them.
Custom methods
Some operations don’t map cleanly to standard HTTP verbs. These use the colon-separated action pattern:POST and append :action to the resource path.