FruxonDocs
Agent NetworkTriggers

Lists what the automation is waiting on a human for.

Each batch is one shared question with a set of items parked on it. This is the surface design §9.1 calls an awaiting-human entry — structurally it is one, and the waiting count is the number an operator actually reads.

GET
/v1/tenants/{tenant}/triggers/{trigger}/ledger/batches
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

trigger*string

The trigger identifier.

Formatuuid
tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque 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.

openOnly?boolean

Only batches still awaiting an answer.

Defaultfalse

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/batches"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "ledgerId": "00000000-0000-0000-0000-000000000000",
      "stageId": "string",
      "status": "OPEN",
      "waitingCount": 0,
      "artifact": null,
      "topicId": "00000000-0000-0000-0000-000000000000",
      "expiresAt": 0,
      "gatheringUntil": 0,
      "lastJoinedAt": 0,
      "resolvedAt": 0,
      "createdAt": 0,
      "detail": "string"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}