Skip to main content
POST
Publish Skill

Authorizations

Authorization
string
header
required

Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.

Body

application/json
slug
string
required
Required string length: 3 - 60
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
title
string
required
Required string length: 3 - 100
description
string
required
Required string length: 10 - 1024
category
string
required
Required string length: 2 - 50
long_description
string | null
type
string
default:skill
Pattern: ^(skill|agent)$
price_cents
integer
default:0
Required range: x >= 0

Response

Successful Response

slug
string
required
id
string
required
status
string
required
message
string
required