---
title: "GET /v1/workflows/{id}/trigger-aggregates"
method: GET
path: "/v1/workflows/{id}/trigger-aggregates"
---

# GET /v1/workflows/{id}/trigger-aggregates

`GET /v1/workflows/{id}/trigger-aggregates`

Per-trigger run aggregates (last fired, run count, success / failure breakdown, next fire preview) for a workflow

## Path parameters

- `id` string, required

## Response `200`

OK

- WorkflowTriggerAggregatesResponse
  - `code` integer
  - `data` WorkflowTriggerAggregates
    - `triggers` WorkflowTriggerAggregate[]
      - `cancelledCount` integer
      - `failureCount` integer
      - `lastFiredAt` string
      - `nextFireAt` string
      - `runCount` integer
      - `successCount` integer
      - `triggerNodeId` string
      - `type` string
    - `workflowId` string
  - `message` string
  - `requestId` string

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3os/b3os-workflow-api/revisions/a8c7af3c66a1/schema)
