REST API
How the API behaves
Public API inputs, results, retries, pagination, errors and reviewed contract changes.
Use HTTPS and send Authorization: Bearer <credential> and Content-Type: application/json. Every operation under /api/public/v1/ uses POST with a JSON object body. Responses are the operation's typed JSON result.
Inputs and results
Follow the OpenAPI specification for required fields, types, defaults and nullable values. Unknown request fields are rejected. An omitted optional field and an explicit null can have different meanings; use the schema for that operation.
Operations that support preview or name resolution may return a successful HTTP response without applying a change. Inspect their applied, preview and problems fields where present. Resolve ambiguous references before proceeding; prefer exact identifiers returned by read operations.
Retries
For start-checklist, retain the same clientRequestId when retrying the same intended creation. Other operations have their own behavior, described in the specification. A timeout does not prove a write failed: read the resulting state before retrying a write without documented idempotency support. Do not treat every conflict or missing resource as success.
Pages
Paged operations accept a cursor in the JSON body. Pass the returned next cursor back to the same operation with the same filters. Response collections and paging fields are defined separately for each operation; there is no universal row envelope or page-size parameter. Results are limited to resources the connected identity may see.
Errors and limits
Use the documented response schema for each status; some failures have no body.
| Status | Meaning |
|---|---|
400 | Invalid input or a domain rule refused the request. |
401 | Missing, invalid, expired or revoked credentials. |
402 | The organization's plan blocks the operation. |
403 | The connected identity cannot perform the operation. |
404 | The requested resource is unavailable to this caller. |
409 | A conflict requires reviewing the current state. |
415 | The request content type is unsupported. |
429 | Rate limited; wait for Retry-After. |
API keys allow 300 requests per minute. Use Retry-After on a rate-limit response before sending another request.
Contract changes
The versioned OpenAPI document defines the public contract, including nested request and response objects. Automated checks fail when runtime schemas differ from that document. Any change to the committed contract, including additions, requires explicit review with the public-contract-change PR label. The label does not bypass schema consistency or authorization tests.
An internal app endpoint or field does not become part of the public API merely because it exists. Build integrations only against the operations in the public specification.