Skip to content
AbloAblo
Esc
navigateopen⌘Jpreview

Heartbeat a held claim (extend the lease for long-running work)

POST/v1/models/{model}/{id}/claim/heartbeat
Path parameters
modelstringrequired
A model name from your pushed schema, e.g. `task`.
idstringrequired
Request body
application/json
claimIdstring
ttlnumber | string | any
Show properties
Any of:
number | string
Any of:
number
number
string
string
any
any
detailsobject
Responses
200Lease extended (or queued slot refreshed)
objectstringrequired
claimIdstringrequired
statusstringrequired
Allowed:heldqueued
expiresAtinteger
min -9007199254740991 · max 9007199254740991
queueDepthinteger
min 0 · max 9007199254740991
positioninteger
min 0 · max 9007199254740991
400The request did not satisfy the published contract.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
401The Bearer credential is missing, malformed, or expired.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
403The credential does not authorize this operation.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
404The addressed resource does not exist in the credential scope.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
409The request conflicts with current claim, version, or idempotency state.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
429The caller exceeded an enforced rate limit.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
500The server could not complete the request.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
503A required service is temporarily unavailable.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
defaultAn HTTP error not otherwise listed; decoded through the canonical envelope.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
Request
curl -X POST "https://api.abloatai.com/api/v1/models/string/string/claim/heartbeat" \
  -H "Content-Type: application/json" \
  -d '{
  "claimId": "string",
  "ttl": 0,
  "details": {}
}'
Response
{
  "object": "claim_heartbeat",
  "claimId": "string",
  "status": "held",
  "expiresAt": 0,
  "queueDepth": 0,
  "position": 0
}