Site Status

Tells a website whether its Panda IDX account may serve the site and whether the site is private. This public, read-only call is tiny and barely cached: make it from the root layout on every request.

GET/v1/site/status

Authentication

Public key?key=pk_…

Public key in the `key` query parameter. No OAuth, no secret.

Edge cache: 5 s + stale-while-revalidate 10 s

Query Parameters

keystring
required

The site's public key (pk_…). It selects the account. Safe to ship to the browser.

Responses

200Success
application/json
activeboolean
privateboolean

Errors

401Missing or invalid public key
404Application not found: the key is valid but its account does not exist

Notes

  • When `active` is false the account has no active subscription (or the site no longer exists): render an offline page instead of the design.
  • Unlike every other endpoint, an inactive account still answers 200 here with `active: false`; the other endpoints answer 403 `TENANT_INACTIVE`.
  • `private` is true only for a Panda AI Builder site the owner made private. The site then shows a team sign-in instead of its pages. It is always false for keys that are not tied to an AI Builder site.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/site/status?key={{public_key}}"
Response200 OK
{
"active": true,
"private": false
}