Skip to main content
PATCH
Update agent

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

application/json
prompt
string · object · object · object · object · object[]
endTool
object | null
cardTool
object | null
playbooks
object[]

Playbooks available for the agent to invoke.

workflows
object[]

Workflows available for the agent to invoke.

buttonTool
object | null
instructions
string · object · object · object · object · object[] | null
skipTurnTool
object | null
pathToolOrder
string[]

The ordered list of path tool IDs that controls the order of the agent exit paths.

webSearchTool
object | null
callForwardTool
object | null
knowledgeBaseTool
object | null
includeGuidelines
boolean

Whether to append the default prompting guidelines to the global prompt.

llm
object
voice
object

Response

200 - application/json

Confirms the agent's configuration was updated. The body is a message rather than the new configuration, so read the agent back to see its current prompt, instructions, and tool settings.

message
string
required

A human-readable message confirming the update.