cURL
curl --request POST \ --url https://api.agentpowers.ai/v1/skills \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "slug": "<string>", "title": "<string>", "description": "<string>", "category": "<string>", "long_description": "<string>", "type": "skill", "price_cents": 0 } '
{ "slug": "<string>", "id": "<string>", "status": "<string>", "message": "<string>" }
Publish a new skill.
Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.
ap_cli_
Authorization: Bearer <token>
3 - 60
^[a-z0-9][a-z0-9-]*[a-z0-9]$
3 - 100
10 - 2000
2 - 50
^(skill|agent)$
x >= 0
Successful Response
Was this page helpful?