FruxonDocs
Agent NetworkGraph

Finished outcomes over a window, and items held now, for each of the Application's work-shape automations.

One row per automation that owns a ledger. `finished` counts production outcomes that reached DONE in [`from`, `to`) — the count the app statement bills — and is the only windowed figure. `inProgress`, `waiting`, `openQuestions`, `needsAttention` and `setAside` are point-in-time: what the ledger holds as of the request, whatever the window. Gated like the per-automation ledger reads (`triggers:read`), not like the run counts.

GET
/v1/tenants/{tenant}/networks/{network}/ledgerSummary
AuthorizationBearer <token>

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

In: header

Path Parameters

network*string

The Application (Network) id.

Formatuuid
tenant*string

The tenant identifier

Query Parameters

from?integer

Window start for finished, Unix ms inclusive. All time when omitted.

Formatint64
to?integer

Window end for finished, Unix ms exclusive. Now when omitted.

Formatint64

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledgerSummary"
{
  "ledgers": [
    {
      "ledgerId": "00000000-0000-0000-0000-000000000000",
      "triggerId": "00000000-0000-0000-0000-000000000000",
      "displayName": "string",
      "outcomeUnit": {
        "singular": "string",
        "plural": "string"
      },
      "finished": 0,
      "costUsd": 0,
      "creditsCharged": 0,
      "costPerFinishedUsd": 0,
      "creditsPerFinished": 0,
      "inProgress": 0,
      "waiting": 0,
      "openQuestions": 0,
      "needsAttention": 0,
      "setAside": 0
    }
  ]
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}