Skip to main content
DELETE
/
v1
/
models
/
{model}
/
{id}
Delete a record
curl --request DELETE \
  --url https://api.abloatai.com/v1/models/{model}/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "clientTxId": "<string>",
  "serverTxId": "<string>",
  "success": true,
  "lastSyncId": 123,
  "ops": 123,
  "missingIds": [
    "<string>"
  ],
  "notifications": [
    {
      "object": "<string>",
      "model": "<string>",
      "id": "<string>",
      "readAt": 123,
      "observedSyncId": 123,
      "conflictingFields": [
        "<string>"
      ],
      "currentValues": {},
      "writtenBy": "<string>",
      "group": "<string>"
    }
  ],
  "error": {
    "code": "<string>",
    "message": "<string>",
    "field": "<string>",
    "requiredCapability": {
      "can": "<string>",
      "model": "<string>",
      "syncGroup": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Replay-safe identifier; derive it from the business event, not a random value. Same key + same body returns the same receipt; same key + different body returns 409.

Path Parameters

model
string
required

The model name from your pushed schema (e.g. tasks). The HTTP model API is generated from your own schema — these paths are generic over every model you define.

id
string
required

The record id.

Response

Commit receipt.

object
string
required
Allowed value: "commit_receipt"
clientTxId
string
required
serverTxId
string
required
success
boolean
required
status
enum<string>
required
Available options:
confirmed,
rejected
lastSyncId
integer
ops
integer
missingIds
string[]

Ids of any UPDATE/DELETE that matched zero rows (omitted when nothing missed).

notifications
object[]

Held-write advisories from onStale: "notify".

error
object