{
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5
}
{
"success": true,
"message": "Agent updated successfully",
"data": {
"agent_id": "agent_a1b2c3d4e5f6",
"agent_name": "Sales Rep",
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5,
"updated_at": "2024-01-20T14:45:00Z"
}
}
Agents
Update Agent
PUT
/
api
/
agents
/
{agent_id}
{
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5
}
{
"success": true,
"message": "Agent updated successfully",
"data": {
"agent_id": "agent_a1b2c3d4e5f6",
"agent_name": "Sales Rep",
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5,
"updated_at": "2024-01-20T14:45:00Z"
}
}
Update the configuration of an existing agent. Only provided fields will be updated.
Headers
Path Parameters
Permissions
agents:update(admin, agent_manager)
Request Body
All fields are optional. Only provided fields will be updated.Response
{
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5
}
{
"success": true,
"message": "Agent updated successfully",
"data": {
"agent_id": "agent_a1b2c3d4e5f6",
"agent_name": "Sales Rep",
"system_prompt": "Updated system prompt...",
"llm_temperature": 0.5,
"updated_at": "2024-01-20T14:45:00Z"
}
}