Skip to main content
GET
List the organization's routing policys

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 requested record

context_breakpoints
integer<int32>[]
required
created_at
string<date-time>
required
default_slot_on_failure
integer<int32>
required
enabled
boolean
required
id
string<uuid>
required
model_alias
string
required
org_id
string<uuid>
required
posture
enum<string>
required

How eagerly this policy steps up when the router is unsure.

Available options:
savings,
balanced,
quality
router_input_max_chars
integer<int32>
required
slots
object[]
required
updated_at
string<date-time>
required
description
string | null
determiner_model_alias
string | null

The model that picks a slot. Optional because a policy may be saved before one is chosen; the picker falls back to the context-size floor when it is absent. Either a chat model that supports JSON-mode output, or a Jev classifier model (TypeSafe, or OpenRouter's typesafe/ models), which is asked on System One instead of prompted for JSON.

determiner_prompt
string | null

Optional override for the determiner's instruction preamble. None (or empty) falls back to the built-in default (see routing::determiner). The slot catalog, request-metadata block, and JSON-output schema are always appended by the gateway so the structured-output contract holds regardless of what an admin writes here. Not used by a Jev determiner, whose questions carry their own instructions.