Skip to main content
PATCH
Update a draft agent's config (partial)

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

agentId
string
required

The agent's id: a 24-character hex string — the id of an item from GET /business/agents, or the agent.id a create or duplicate returned.

Body

application/json

One or more of the agent type's own config fields (the same fields as its POST /business/agents/{type} body, without start). Keys are merged over the draft's saved config: omitted fields keep their value, arrays replace the stored array. Only drafts (status "initializing") are editable (409 AGENT_NOT_A_DRAFT otherwise); the merged config is re-validated against the type's schema (422 VALIDATION_FAILED) and unknown keys are dropped.

Response

Success

agent
object
required