Conventions

Conventions

The rules every /v2 endpoint follows, so you learn them once.

Every /v2 endpoint shares the same contract. Build your client around these once and every new endpoint behaves the way you expect.

ConventionIn one line
Versioning/v2 in the path; pin a dated Gauge-Version for additive changes.
ErrorsOne envelope; branch on error.code, never on the message.
Request idsEvery response has X-Request-Id; quote it to support.
IdempotencyEvery POST needs an Idempotency-Key; retries replay the first answer.
PaginationOpaque cursors, { data, nextCursor, prevCursor }, up to 100 per page.
Rate limitsPer key and per workspace, by plan; RateLimit-* headers, 429 with Retry-After.
PlansThe API is included on Growth and Scale.

Requests and responses are JSON (Content-Type: application/json), in UTF-8. Timestamps are ISO 8601 in UTC (2026-10-21T09:12:44.000Z). Ids are opaque strings, today UUIDs; do not parse them.