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

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.

Query Parameters

policy_id
string<uuid>
required

The routing policy these rules belong to. Required — the handler's Query<PolicyScope> extractor rejects a request without it with a 400.

Response

The requested record

conflicts
object[]
required

Pairs of rule names whose constraints cannot both be satisfied.

Returned on the listing as well as on writes so the admin UI can show a standing warning, not just a transient toast at save time — a conflict created yesterday is still a conflict today.

rules
object[]
required