Skip to main content

Update Agent

PATCH 

/v1/agents/:agent_id

Update an existing agent's configuration.

Supports partial updates - only provide fields you want to change:

  • name: Update the agent's display name
  • description: Update the agent's description
  • instructions: Modify the agent's behavior instructions
  • model: Change the LLM model
  • tools: Update available tools
  • file_ids: Modify associated files
  • metadata: Update custom metadata

All fields are optional. Unchanged fields retain their current values.

Request​

Responses​

Agent updated successfully