Skip to main content
GET
List a policy's routing rules

Authorizations

Authorization
string
header
required

An access token from Barndoor's identity provider, sent as Authorization: Bearer <token>. Use a service-account token from the OAuth 2.0 client-credentials grant for scripts and CI, or a signed-in user's token. The caller needs the admin role in the organization. Gateway API keys (bd-...) are not accepted here.

Query Parameters

policy_id
string<uuid>
required

ID of the routing policy the rules belong to.

Response

OK

conflicts
object[]
required

Pairs of rules whose constraints cannot both be honored.

rules
object[]
required