# listWorkflowTables

The organization's Workflow Tables (not archived), by name: each table's key (what rows are matched on: `keyKind`, e.g. COUNTY_FIPS, STATE, ZIP, FIELD_PATH, and its fallback levels in `keyShape`), its columns (with each column's `tokenKey`, the merge field a message uses, and a SELECT column's options) and `rowCount`. No rows: read one table's rows with getWorkflowTable. Paged: `limit` (default 20) and `offset`; a page shorter than `limit` is the last.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listWorkflowTables", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

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

## Response (data, an example)

```json
{
  "workflowAutomationsQuery": {
    "workflowTables": [
      {
        "id": "<ID>",
        "name": "…",
        "description": "…",
        "keyKind": "COUNTY_FIPS",
        "keyFieldPath": "…",
        "keyShape": {
          "levels": [
            {
              "parts": [
                {
                  "kind": "COUNTY_FIPS",
                  "fieldPath": "…",
                  "match": "EXACT"
                }
              ]
            }
          ]
        },
        "rowCount": 0,
        "isProvisioned": true,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "columns": [
          {
            "id": "<ID>",
            "name": "…",
            "kind": "TEXT",
            "displayOrder": 0,
            "tokenKey": "…",
            "options": [
              {
                "value": "…",
                "label": "…"
              }
            ]
          }
        ]
      }
    ]
  }
}
```

## Example

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