Skip to main content
POST
/
v1
/
commits
Commit one or more mutations
curl --request POST \
  --url https://sync.ablo.app/v1/commits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "operations": [
    {
      "model": "<string>",
      "id": "<string>",
      "input": {},
      "transactionId": "<string>",
      "readAt": 123
    }
  ],
  "clientTxId": "<string>",
  "causedByTaskId": "<string>"
}
'
{
  "clientTxId": "<string>",
  "serverTxId": "<string>",
  "success": true,
  "lastSyncId": 123,
  "ops": 123,
  "error": {
    "code": "<string>",
    "message": "<string>",
    "field": "<string>",
    "requiredCapability": {
      "scope": "<string>",
      "constraints": {},
      "issuer": "<string>",
      "ttlSeconds": 123,
      "nonce": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.abloatai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (sk_live_…) or Biscuit capability token. The same header carries both — the server discriminates by token shape.

Headers

Idempotency-Key
string

Replay-safe identifier. Same key + same body returns the same receipt; same key + different body returns 409.

Body

application/json
operations
object[]
required
clientTxId
string
causedByTaskId
string | null

Response

Commit confirmed

object
enum<string>
required
Available options:
commit_receipt
clientTxId
string
required
serverTxId
string
required
success
boolean
required
status
enum<string>
required
Available options:
confirmed,
rejected
lastSyncId
integer
ops
integer
error
object