Skip to main content
PUT
Update AI connections
Requires Admin or Owner. Supplied non-null settings are merged with the existing configuration. organization_pricing is read-only and ignored in updates. Stored credential references must belong to the workspace. Validation can contact configured providers. Invalid settings return 422, invalid credential references 400, and unavailable credential storage 503. The response masks secret values.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Body

application/json
embeddings
Embeddings · object | null
is_realtime
boolean | null
llm
Llm · object | null
organization_pricing
Organization Pricing · object | null
realtime
Realtime · object | null
stt
Stt · object | null
test_phone_number
string | null
timezone
string | null
tts
Tts · object | null

Response

Successful Response

embeddings
Embeddings · object | null
is_realtime
boolean | null
llm
Llm · object | null
organization_pricing
Organization Pricing · object | null
realtime
Realtime · object | null
stt
Stt · object | null
test_phone_number
string | null
timezone
string | null
tts
Tts · object | null