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

# Org record and counts

> The org record plus counts

### Response

`object`

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

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

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

<ResponseField name="counts" type="object">
  Row counts for the org

  <Expandable title="counts">
    <ResponseField name="sites" type="integer" />

    <ResponseField name="keys" type="integer" />
  </Expandable>
</ResponseField>

### Status codes

| Code  | Meaning                    |
| ----- | -------------------------- |
| `200` | The org record plus counts |
| `401` | Error                      |

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "Two-Person Tent",
    "createdAt": "2026-08-31T14:22:05Z",
    "counts": {
      "sites": 1,
      "keys": 1
    }
  }
  ```
</ResponseExample>
