curl --request PATCH \
--url https://mcp.echozero.app/api/v1/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"name": "Updated name"
}
'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"ownerStake": {
"enabled": true,
"requiredUsd": 123,
"floorUsd": 123,
"currentUsd": 123,
"lockedUsd": 123,
"waived": true,
"ownerFunded": true,
"shortSince": "<string>",
"delistedAt": "<string>"
}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Agent
Update agent
Mirrors GraphQL updateAgent (agentId from path).
Changing marketplaceMonthlyPrice recreates the Stripe Price so checkout matches the new amount.
Switching marketplacePricingModel to success-fee or free zeros leftover monthly price and archives the Stripe Price.
Request body schema: McpUpdateAgentBodyDto — see Schemas (#/components/schemas/McpUpdateAgentBodyDto). Nested: AgentPersonalizationInput, AgentFeeConfigurationInput.
PATCH
/
api
/
v1
/
agents
/
{id}
curl --request PATCH \
--url https://mcp.echozero.app/api/v1/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"name": "Updated name"
}
'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"ownerStake": {
"enabled": true,
"requiredUsd": 123,
"floorUsd": 123,
"currentUsd": 123,
"lockedUsd": 123,
"waived": true,
"ownerFunded": true,
"shortSince": "<string>",
"delistedAt": "<string>"
}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Authorizations
bearer-jwtapi-key
Headers
Body
application/json
OpenAPI schema McpUpdateAgentBodyDto; agentId is taken from the path.