The source watermark and its freshness.
Cursor health for the automation card. `lastScanCompletedAt` is the staleness signal, deliberately distinct from `lastItemAdmittedAt`: a healthy source that simply had nothing new still moves the former, so a quiet mailbox does not read as an outage.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe tenant identifier
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/cursor"{
"ledgerId": "00000000-0000-0000-0000-000000000000",
"value": "string",
"version": 0,
"lastScanStartedAt": 0,
"lastScanCompletedAt": 0,
"lastItemAdmittedAt": 0,
"updatedAt": 0,
"updatedByRunId": "00000000-0000-0000-0000-000000000000",
"stageHolds": [
{
"stageId": "string",
"until": 0,
"reason": "string",
"violationType": "FEATURE_RESTRICTED",
"refusals": 0,
"since": 0,
"heldTurns": 0
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Stops the cohort taking members; it settles once none of them is still running.
A cohort normally seals itself on the first pass that reads its source to the end. Seal it by hand when it was opened to stay open, or when a sampled cohort's sample is all you wanted — it then settles on what ran, and nothing more is admitted into it.
Moves the cursor — where the next scan starts.
A compare-and-swap on the version the operator read from `GET …/cursor`: a pass that advanced it in between wins and the reset is refused with 409. Moving the cursor never re-runs admitted work (admission collides on the item key); it decides where the next scan begins. Null starts from the door's own horizon.