Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Read versioned integer increment history

Requires a field.counter() declaration and read access to the row. Integer operations support Ablo-owned storage; connected-source writes are rejected. Submit a versioned {$increment: …} field value through the existing update or commit endpoint.

GET/v1/models/{model}/{id}/counter/{field}
Path parameters
modelstringrequired
A model name from your pushed schema, e.g. `item`.
idstringrequired
fieldstringrequired
Responses
200A bounded text base and its contiguous accepted operations.
baseobjectrequired
Show properties
epochstringrequired
min length 1 · max length 255
versionintegerrequired
min 0 · max 9007199254740991
valueintegerrequired
min -9007199254740991 · max 9007199254740991
editsobject[]required
Show properties
Array of object
idstringrequired
min length 1 · max length 255
epochstringrequired
min length 1 · max length 255
operationintegerrequired
min -9007199254740991 · max 9007199254740991
versionintegerrequired
min 0 · max 9007199254740991
400The request did not satisfy the published contract.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
event_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
event_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
event_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
event_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
event_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
event_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
event_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
503A required service is temporarily unavailable.
typestringrequired
codestring
paramstring
messagestringrequired
doc_urlstring
request_idstring
event_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
event_idstring
errorsobject[]
Show properties
Array of object
codestring
messagestringrequired
paramstring
Request
curl -X GET "https://api.abloatai.com/api/v1/models/string/string/counter/string"
Response
{
  "base": {
    "epoch": "string",
    "version": 0,
    "value": 0
  },
  "edits": [
    {
      "id": "string",
      "epoch": "string",
      "operation": 0,
      "version": 0
    }
  ]
}