FruxonDocs
Agent NetworkTriggers

What each pass admitted, dispatched, finished and spent.

Ledger passes, newest first, with transition counts and attributed execution cost. Cost may increase after firedAt while the pass's executions finish; an immediate read can therefore report less than the final cost.

GET
/v1/tenants/{tenant}/triggers/{trigger}/ledger/passes
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 pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/passes"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "firedAt": 0,
      "source": "SCHEDULE",
      "outcome": "FIRED",
      "detail": "string",
      "admitted": 0,
      "dispatched": 0,
      "completed": 0,
      "runs": 0,
      "cost": 0,
      "betweenPasses": {
        "firstClaimedAt": 0,
        "lastClaimedAt": 0,
        "dispatched": 0,
        "completed": 0,
        "runs": 0,
        "cost": 0,
        "causes": []
      }
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}