Skip to main content
GET
Fetch the Baseline policy, which covers every server without its own policy

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Scopes

openid

Issue an OIDC ID token identifying the caller.

profile

Read the caller's basic profile claims.

email

Read the caller's email address.

Response

The Baseline policy, or null before its first save

policy_model
string
required
deprecated

Always SERVER_POLICIES. Kept for clients that read it.

policy
object | null

null until the Baseline policy's first save (plan D17). Until then no rule applies to servers without their own policy.