latestOpenAPI 3.1.02026-08-236994571.1 MB
79928a3d37d3
[beta] A2A Agents
Update Agent
Update an existing agent
Example Request:
curl -X PUT "http://localhost:4000/agents/123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"agent": {
"agent_name": "updated-agent",
"agent_card_params": {
"protocolVersion": "1.0",
"name": "Updated Agent",
"description": "Updated description",
"url": "http://localhost:9999/",
"version": "1.1.0",
"defaultInputModes": ["text"],
"defaultOutputModes": ["text"],
"capabilities": {
"streaming": true
},
"skills": []
},
"litellm_params": {
"make_public": false
}
}
}'
put/v1/agents/{agent_id}
Path parameters
agent_idstring required
Request body
Response
Successful Response