[beta] A2A Agents

Update Agent

Update an existing agent

Example Request:

curl -X PUT "http://localhost:4000/v1/agents/123e4567-e89b-12d3-a456-426614174000" \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Content-Type: application/json" \
    -d '{
        "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

agent_namestring required
litellm_paramsobject
tpm_limitinteger nullable
rpm_limitinteger nullable
session_tpm_limitinteger nullable
session_rpm_limitinteger nullable
static_headersobject nullable
extra_headersstring[] nullable

Response

Successful Response

agent_idstring required
agent_namestring required
litellm_paramsobject nullable
agent_card_paramsobject required
object_permissionobject nullable
spendnumber nullable
tpm_limitinteger nullable
rpm_limitinteger nullable
session_tpm_limitinteger nullable
session_rpm_limitinteger nullable
static_headersobject nullable
extra_headersstring[] nullable
search_scorenumber nullable
created_atstring date-time nullable
updated_atstring date-time nullable
created_bystring nullable
updated_bystring nullable

Changes