FruxonDocs
Agent NetworkTriggers

Shows what is gathering at the automation's batch stages.

Items at a stage that processes in batches wait, unclaimed, until their group closes: when it is full, when its oldest item has waited the stage's window, or when nothing upstream can still feed it. For each batch stage this returns its rules, its runs in flight, and each group with its size, where it stands and — while it is still gathering — when its window closes it. A fire with `closeGathering` closes them all now.

GET
/v1/tenants/{tenant}/triggers/{trigger}/ledger/gathering
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

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/gathering"
{
  "stages": [
    {
      "stageId": "string",
      "groupBy": "string",
      "maxMembers": 0,
      "gatherMinutes": 0,
      "running": 0,
      "maxRunning": 0,
      "upstreamDrained": false,
      "heldUntil": 0,
      "groupCount": 0,
      "groups": []
    }
  ]
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}