Management
Preview the engine's effective policy for a principal
Returns the engine's combined view (budgets, rate_limits, guardrail) without making a real inference request. The queried principal must belong to the caller's account.
Requires the policy:read scope.
x-api-key<token>
Anthropic-style API key header.
In: header
Path Parameters
nsid*string
Id of the target namespace. Must be owned by the caller (or equal a namespace-baked credential's own namespace), else 404.
Query Parameters
principal_type?string
One of namespace, api_key, oauth_token, oauth_client.
principal_id?string
Id of the principal. Must belong to the caller's account or 404.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.bitrouter.ai/v1/namespaces/string/policies/effective"{}{
"error": null
}{
"error": null
}{
"error": null
}How is this guide?