> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get brand improvement breakdown

> Where automation is being lost: run-status distribution, skip-rule and escalation-category frequencies, outcome source/channel coverage.

### Path parameters

<ParamField path="brand_id" type="string (uuid)" required />

### Response

`object`

<ResponseField name="brand_id" type="string (uuid)" required />

<ResponseField name="window_days" type="integer" required />

<ResponseField name="status_counts" type="object[]" required>
  <Expandable title="status_counts">
    <ResponseField name="key" type="string" required />

    <ResponseField name="count" type="integer" required />
  </Expandable>
</ResponseField>

<ResponseField name="skip_reasons" type="object[]" required>
  <Expandable title="skip_reasons">
    <ResponseField name="key" type="string" required />

    <ResponseField name="count" type="integer" required />
  </Expandable>
</ResponseField>

<ResponseField name="escalation_categories" type="object[]" required>
  <Expandable title="escalation_categories">
    <ResponseField name="key" type="string" required />

    <ResponseField name="count" type="integer" required />
  </Expandable>
</ResponseField>

<ResponseField name="outcome_sources" type="object[]" required>
  <Expandable title="outcome_sources">
    <ResponseField name="key" type="string" required />

    <ResponseField name="count" type="integer" required />
  </Expandable>
</ResponseField>

<ResponseField name="outcome_channels" type="object[]" required>
  <Expandable title="outcome_channels">
    <ResponseField name="key" type="string" required />

    <ResponseField name="count" type="integer" required />
  </Expandable>
</ResponseField>

### Status codes

| Code  | Meaning                                                                                                                                  |
| ----- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `200` | Where automation is being lost: run-status distribution, skip-rule and escalation-category frequencies, outcome source/channel coverage. |
| `400` | Validation error                                                                                                                         |
| `401` | Unauthorized                                                                                                                             |
| `404` | Not found                                                                                                                                |
| `429` | Rate limited                                                                                                                             |
| `500` | Internal error                                                                                                                           |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/workflows/breakdown' \
    --header "x-api-key: $STATESET_TEMPORAL_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "window_days": 1,
    "status_counts": [
      {
        "key": "string",
        "count": 2
      }
    ],
    "skip_reasons": [
      {
        "key": "string",
        "count": 2
      }
    ],
    "escalation_categories": [
      {
        "key": "string",
        "count": 2
      }
    ],
    "outcome_sources": [
      {
        "key": "string",
        "count": 2
      }
    ],
    "outcome_channels": [
      {
        "key": "string",
        "count": 2
      }
    ]
  }
  ```
</ResponseExample>
