---
title: "GET /v1/workflows/counts"
method: GET
path: "/v1/workflows/counts"
---

# GET /v1/workflows/counts

`GET /v1/workflows/counts`

Get workflow counts grouped by status (filter-aware).

## Query parameters

- `q` string
- `type` string
- `actions` string[]
- `connectors` string[]
- `owner` string
- `madeByMe` boolean

## Response `200`

OK

- WorkflowCountsResponse
  - `code` integer
  - `data` WorkflowStatusCounts
    - `active` integer
    - `archived` integer
    - `availableConnectors` string[]
    - `availableTypes` string[] — AvailableTypes / AvailableConnectors are the distinct trigger-type and connector-type values that exist in the org's workflows under the current filter context (ignoring status — same scope as the counts above). Frontend uses these to populate the filter-panel dropdowns so users can pick from every option in the full result set, not just the current visible page.
    - `draft` integer
    - `paused` integer
    - `total` integer
  - `message` string
  - `requestId` string

---

[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)
