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

# Draft and published config

> Draft and published config

### Path parameters

**id** `string` *required*

Site id

### Response

`SiteConfig`

**draft** `object`

**published** `object`

### Status codes

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

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

```json 200 theme={null}
{
  "draft": {},
  "published": {}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.