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
- 200
- 401
- 403
- 404
- 422
- 500
Agent updated successfully
Authentication failed - Invalid or missing credentials
Permission denied - Insufficient privileges
Resource not found
Validation error - Invalid request data
Internal server error