PUT
Choose an agent's model

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field.

Path Parameters

accountId
string
required
Minimum string length: 1
deploymentId
string
required
Required string length: 1 - 64

Body

application/json
modelId
string | null
required

A model id from the venue's model catalog that can chat, or null for the default in-network model.

Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
fallbackModelId
string | null

The one model that answers when modelId fails, or null to stop safely instead. Requires modelId and differs from it.

Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
acceptThirdParty
boolean
default:false

true accepts that a third_party model (or fallback) receives this agent's text. Without it a third_party choice answers 400.

Response

Success

deployment
object
required