# listWorkflowPerformance

Scoreboard: the org's workflows (paginated, non-archived) each with headline stats: total/active/completed runs, reply rate, and last-run time. One call to answer "which of my automations are running and how are they doing". Drill into any with getWorkflowStats. Each row carries `channelsAcrossVersions`: the channels the workflow messages on (TEXT, EMAIL, both, or [] when it messages nobody; never null), the same answer the app's Channel filter gives, so read it to PICK workflows out of a list. It spans EVERY version not deleted: the published one, the ones it superseded and an unpublished draft. getWorkflow.`channels` reads ONE: the most recently PUBLISHED version whatever its status (active, paused or suspended), else the pending draft. NEITHER says it is SENDING: a paused or suspended head keeps its configured channels while sending nothing. Read `status` for that.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listWorkflowPerformance", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no
- Result cap: `limit` is clamped to 50, without an error

## Variables

- `limit`: `Int` (default `20`)
- `offset`: `Int` (default `0`)

## Response (data, an example)

```json
{
  "workflowAutomationsQuery": {
    "workflowGroupsPage": {
      "items": [
        {
          "id": "<ID>",
          "name": "…",
          "status": "DRAFT",
          "channelsAcrossVersions": [
            "TEXT"
          ],
          "workflowDomain": "PROPERTY",
          "stats": {
            "totalRuns": 0,
            "activeRuns": 0,
            "completedRuns": 0,
            "replyRate": 0,
            "lastRunAt": "2026-01-01T00:00:00.000Z"
          }
        }
      ],
      "total": 0
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listWorkflowPerformance",
    "variables": {}
  }'
```
