Skip to content
AbloAblo
Esc
navigateopen⌘Jpreview

Heartbeat every lease you hold, in one request

One round trip per cadence for a worker holding many rows, instead of one per row. Takes only ttl; the leases are whichever ones your credential holds on this plane.

POST/v1/claims/heartbeat
Request body
application/json
claimIdstring
ttlnumber | string | any
Show properties
Any of:
number | string
Any of:
number
number
string
string
any
any
detailsobject
Responses
200One ack per lease extended.
objectstringrequired
resultsobject[]required
Show properties
Array of object
claimIdstringrequired
statusstringrequired
Allowed:heldqueuedlost
expiresAtnumber
positionnumber
queueDepthnumber
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/heartbeat" \
  -H "Content-Type: application/json" \
  -d '{
  "claimId": "string",
  "ttl": 0,
  "details": {}
}'
Response
{
  "object": "list",
  "results": [
    {
      "claimId": "string",
      "status": "held",
      "expiresAt": 0,
      "position": 0,
      "queueDepth": 0
    }
  ]
}