Skip to content
AbloAblo
Esc
navigateopen⌘Jpreview

Heartbeat a claim by id — held or queued

The beat a waiter needs: a queued caller holds nothing but the claimId it was handed at enqueue, and an entry that stops beating drops out of the line on TTL. The reply doubles as the wait poll — queued means still in line, held means the grant landed, at which point GET /v1/claims/{claimId} carries the fence token.

POST/v1/claims/{claimId}/heartbeat
Path parameters
claimIdstringrequired
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/claims/string/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
}