Skip to main content
PUT
Replace a profile's capability contract

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.

Path Parameters

slug
string
required

Profile slug, unique within the organization

Body

application/json
config
object
required
capabilities
object | null

The normalized capability contract compiled by barndoor-cli into client-specific flags and configuration. The product default is the client's native loop (client_default); locked_down is an explicit named preset, not the omitted-envelope fallback.

display_name
string | null

Response

The updated profile

A profile joined with the contract of its current_version.

active
boolean
required

True for the client's settings; false for an archived former profile.

capabilities
object
required

The normalized capability contract compiled by barndoor-cli into client-specific flags and configuration. The product default is the client's native loop (client_default); locked_down is an explicit named preset, not the omitted-envelope fallback.

client
string
required
config
object
required

Stored model route per client slot (the settings' preferences). Kept, but not read by a launch: every slot is derived from the models Model Access allows the person.

created_at
string<date-time>
required
display_name
string
required
id
string<uuid>
required
is_org_default
boolean
required

True for the client's settings; false for an archived former profile.

org_id
string<uuid>
required
slug
string
required
updated_at
string<date-time>
required
version
integer<int32>
required

The immutable version whose preferences are loaded below.

archived_at
string<date-time> | null

When this former launch profile was archived; null for the client's settings.