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

# Site-scoped thread analytics

> Site-scoped thread analytics

### Path parameters

<ParamField path="id" type="string" required>
  Site id
</ParamField>

### Response

`object`

<ResponseField name="skipped" type="boolean" required />

<ResponseField name="orgId" type="string" />

<ResponseField name="siteId" type="string">
  `null` for an org-wide scope
</ResponseField>

<ResponseField name="scope" type="string" />

<ResponseField name="note" type="string" />

<ResponseField name="range" type="object">
  `null` unless a range was requested
</ResponseField>

<ResponseField name="limit" type="integer" />

<ResponseField name="analysis" type="object">
  The thread-analytics report (same shape as the ResponseCX thread-analytics `analysis`)
</ResponseField>

### Status codes

| Code  | Meaning                      |
| ----- | ---------------------------- |
| `200` | Site-scoped thread analytics |
| `401` | Error                        |
| `404` | Error                        |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.example.com/api/admin/sites/{id}/analytics' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "skipped": true,
    "orgId": "string",
    "siteId": "string",
    "scope": "string",
    "note": "Two-person tent, green — replacement for damaged pole set.",
    "range": {},
    "limit": 20,
    "analysis": {}
  }
  ```
</ResponseExample>
