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

# List sites

> List sites

### Response

`SiteList`

<ResponseField name="sites" type="Site[]">
  <Expandable title="Site">
    <ResponseField name="id" type="string" />

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

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

    <ResponseField name="createdAt" type="string (date-time)" />
  </Expandable>
</ResponseField>

### Status codes

| Code  | Meaning |
| ----- | ------- |
| `200` | OK      |
| `401` | Error   |

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "sites": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "platform": "string",
        "domain": "string",
        "createdAt": "2026-08-31T14:22:05Z"
      }
    ]
  }
  ```
</ResponseExample>
