Skip to main content
POST
Create the safe default Claude launch setup for a login provider

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.

Body

application/json
client
string
required
provider_id
string<uuid>
required

Response

The routes and launch profile created or already present

models_enabled
string[]
required

Models this run enabled on the login provider because nothing in their family (Opus, Sonnet, Haiku, Fable) was enabled there.

policies_needing_update
object[]
required
profile
object
required
routes
object[]
required
warnings
object[]
required

seat_only_route warnings for the setup's routes that still have only seat-token targets that serve after this run: a route this run created found no enabled API-key, Bedrock, Vertex or Foundry provider with the model; the route already existed with no non-seat target; or its existing fallback does not serve (switched off, or its provider or model is off), which the setup leaves for the admin to fix.