StatsHub Docs
APIEndpoint referenceAdmin

/admin/bot-routing

The replacement closes the legacy route's unauthenticated configuration read.

GET
/api/admin/bot-routing

The replacement closes the legacy route's unauthenticated configuration read. Development keeps the existing open-console behavior through requireSuperAdmin's environment-aware bypass.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/admin/bot-routing"
{  "superadmin_default_target": "string",  "workers_force_prod": true}