# listWorkflowFolders

List the organization's shared workflow-folder tree (id, name, parentFolderId, displayOrder, itemCount). The compatibility field `ready` is always true on current servers.

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

## Variables

None.

## Response (data, an example)

```json
{
  "workflowAutomationsQuery": {
    "workflowFolders": {
      "ready": true,
      "folders": [
        {
          "id": "<ID>",
          "name": "…",
          "displayOrder": 0,
          "parentFolderId": "<ID>",
          "itemCount": 0
        }
      ]
    }
  }
}
```

## Example

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