Skip to main content
PUT
Set the model chain

Authorizations

x-cominty-token
string
header
required

A Cominty Platform API secret. A key created now starts with sk-cmt-. Send it as is, or as Bearer sk-cmt-..., with at most one Bearer prefix. A key created before the prefix existed has no sk-cmt- and still works.

Path Parameters

agent_pid
string
required

Identifier of the agent.

Body

application/json
model_ids
string[]
required

The new chain, in failover order. At least one id, from GET /agents/models.

Minimum array length: 1

Response

Successful Response

id
string
required
name
string
required
description
string | null
required
capabilities
AgentCapabilities · object | null
required
execution_options
Execution Options · object | null
required
memory_namespace
string | null
required
managed
boolean
required
scope
string
required
owner
string
required
instructions
string | null
required
allow_execution_options_override
boolean
required
models
LLMModelSummaryOut · object[]
required