Skip to main content
GET
Get governance configuration

Authorizations

Authorization
string
header
required

JWT obtained through Barndoor's authentication flow. Pass the token verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's loginInteractive() helper to obtain a token in scripts and notebooks.

Response

200 - application/json

Current governance configuration

require_pricing_for_mappings
boolean

When true, the gateway refuses to enable a model route whose upstream_model has no pricing configured. Use this to guarantee every billable request has a known unit cost.