Skip to content
LogoLogo

API conventions

These rules apply to every operation under /api/v1. The OpenAPI document defines the exact requirements of each one.

TopicRule
IdentifiersOpaque UUIDv7 strings. Don't infer time, tenant, type or order from them.
TimestampsRFC 3339 in UTC. Calendar dates are YYYY-MM-DD.
PaginationBounded pages with opaque cursors (next_cursor, has_more). Never build or edit a cursor.
IdempotencyRetryable creates take an Idempotency-Key. Reuse a key only for the identical request.
ConcurrencyUpdates send the resource's revision in If-Match. A stale revision returns 409.
ErrorsA stable machine-readable code, a safe message and, when available, a request ID. Error responses aren't cacheable.
IsolationA resource outside your Workspace returns 404, the same as one that doesn't exist.

Availability

The contract can list operations before they're available. Treat an operation as available when its guide describes it. Native mobile OAuth, credential management and push-device operations are published for planning only and shouldn't be used yet.

Two deployment notes:

  • Attachment operations need object storage, and files report scan_state: not_scanned until malware scanning is enabled. See Attachments.
  • Passkey operations return 404 where passkeys aren't configured.

Versioning covers compatibility and deprecation. Authentication covers credentials.