Lists the automation's batch runs — one agent run over a group of items each.
At a stage that processes in batches, the sweep gathers items into groups and hands each closing group to one run. Each entry is one such run: the group it took, how many members, where it stands, and — once it reported back — what it cost and how long it took. Newest first.
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
Query Parameters
The maximum number of items to return per page
int32int32Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.
Only this stage's runs.
Only runs still in flight.
falseResponse Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/batchRuns"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"stageId": "string",
"groupValue": "string",
"memberCount": 0,
"status": "OPEN",
"taskQueueId": 0,
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"cost": 0,
"durationMs": 0,
"detail": "string",
"createdAt": 0,
"resolvedAt": 0
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Calls off an open batch.
The items go back to READY at the stage that asked, so a later pass re-batches them — cancelling the question is not the same as deciding the items no longer need one. The response's `returnedCount` is how many went back; its `waitingCount` is read after the cancel and is 0. Returns 409 when the batch has already been answered or expired.
Calls off a batch run that is still in flight.
The run's items go back to READY at their stage with the attempt refunded, and gather again with the next pass; the run stops before its next tool call at the latest, and whatever it reports afterwards is applied to nothing. Cancelling a run is not excluding its items — pause the automation, or exclude them, for that. Returns 409 when the run has already ended.