Base URL
Authentication
CHECKFU_API_KEY as Authorization: Bearer or x-api-key. There is one key per deployment, with full access. A missing or wrong key returns 401; a deployment with no key configured returns 503.
POST /v1/incoming/{binding_id} authenticates the original delivery bytes with a provider signature. See the incoming integrations guide for each sender’s setup.
Conventions
- JSON endpoints require
Content-Type: application/json, or the API returns415.POST /v1/filesandPOST /v1/incoming/{binding_id}accept raw bytes. Signed deliveries are verified against the bytes exactly as sent, regardless of their content type. - Fields are
snake_case. Timestamps are ISO 8601 UTC. IDs are opaque. - Most updates use
POSTto the resource URL (PUTis used for Artifact data documents, provider credentials, and inbound signing secrets). Optimistic concurrency usesversion(Agents, Environments),revision(Automations), orprecondition.content_sha256(Memories); a stale value returns409. - Body size limits are in Limits.
Pagination
next_page back as page until it is null. A page can hold fewer items than limit.
Agent versions and Webhook deliveries return newest first. Memories sort by path. Artifact data returns oldest first.
GET /v1/sessions/{session_id}/resources accepts page and a limit from 1 to 1000. Omit limit to return all remaining resources. When next_page has a value, pass it unchanged as page.
Idempotency
SendIdempotency-Key (1 to 128 characters, no leading or trailing whitespace) on create requests and event sends to make retries safe. Repeating the same key and body returns the original result; reusing a key with a different body returns 409 idempotency_key_reused.
Use the same key to recover a manual Automation Run after an uncertain response. Each unkeyed call can start a new run. Session events can also carry their own
id.
Receipts are retained indefinitely, with a few lifecycle exceptions: retrying after deleting an Artifact or Vault returns 404 (and 409 for a deleted File), retrying a Webhook create or secret rotation after a subsequent rotation returns 409, and Artifact data collection idempotency keys are cleared if the document is deleted (or return its current contents if updated via PUT).
Pending receipts
202 with this body means the write succeeded, but the read view hasn’t caught up yet. Poll by id for the state the operation requested. For a create, look for the resource to appear. For an archive, wait for archived_at to be set. Agent update receipts carry a target version, and Automation update receipts carry a target revision. For a receipt copied from HTTP or restored from JSON, pass an operation-specific until predicate that checks the target or desired state. Receipts for nested resources include the parent field you need for polling: version (artifact_version), vault_id (vault_credential), and memory_store_id (memory). A pending webhook receipt includes signing_secret. An authenticated retry with the original create key and body can recover that secret while the Webhook exists and the secret has not been rotated. Ordinary Webhook reads omit the secret.
Deleting a Vault or Credential can also return 202 ("secrets": "erasing" or "custody": "erasing") while secret erasure finishes in the background.
Archive and delete
An archived resource stays readable witharchived_at set, is hidden from lists unless include_archived=true, and rejects edits with 409. A deleted resource returns 404.
To archive only if nothing changed, pass
version (Agent, Environment) or revision (Automation) as a query parameter (for example, POST /v1/agents/{agent_id}/archive?version=2).
Request IDs
Every response carries arequest-id header, and error bodies repeat it as request_id. Include it when reporting a bug.
Streaming is covered in Session events, and status/error codes in Errors.