cURL
curl --request PATCH \ --url https://api.agentpowers.ai/v1/agents/{slug} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bump": "<string>", "version": "<string>", "title": "<string>", "description": "<string>", "long_description": "<string>", "category": "<string>", "price_cents": 1, "changelog": "<string>" } '
{ "slug": "<string>", "previous_version": "<string>", "new_version": "<string>", "version_id": "<string>", "status": "<string>", "message": "<string>" }
Update an existing agent — creates a new version.
Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.
ap_cli_
Authorization: Bearer <token>
^(patch|minor|major)$
3 - 100
10 - 2000
2 - 50
x >= 0
Successful Response
Was this page helpful?