> ## 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.

# Total, AI-handled and human-handled counts over a window

> Org-wide response counts for the window.

### Query parameters

<ParamField query="days" type="integer" />

### Response

`object`

<ResponseField name="object" type="string" required />

<ResponseField name="period_days" type="integer" required>
  The `days` window the counts cover.
</ResponseField>

<ResponseField name="total" type="integer" required>
  Responses created in the window.
</ResponseField>

<ResponseField name="ai_handled" type="integer" required>
  `total` minus `human_handled`.
</ResponseField>

<ResponseField name="human_handled" type="integer" required>
  Responses where a human took over.
</ResponseField>

### Status codes

| Code  | Meaning                                  |
| ----- | ---------------------------------------- |
| `200` | Org-wide response counts for the window. |
| `401` | Missing, invalid, or expired API key.    |
| `403` | The key lacks a required scope.          |
| `429` | Rate limit exceeded.                     |

### Access

|                |                         |
| -------------- | ----------------------- |
| Required scope | `analytics:read`        |
| Rate limit     | 120 requests per minute |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://response.stateset.com/api/v1/analytics/summary' \
    --header "Authorization: Bearer $RESPONSECX_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "object": "analytics.summary",
    "period_days": 1,
    "total": 102,
    "ai_handled": 1,
    "human_handled": 1
  }
  ```
</ResponseExample>
