curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites/{id}/config' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"draft": {},
"published": {}
}
Draft and published config
Draft and published config
GET
/
api
/
admin
/
sites
/
{id}
/
config
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites/{id}/config' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"draft": {},
"published": {}
}
Path parameters
Response
SiteConfig
Status codes
| Code | Meaning |
|---|---|
200 | OK |
401 | Error |
404 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites/{id}/config' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"draft": {},
"published": {}
}
Last modified on November 13, 2026