Skip to content

Publish a new skill from markdown

POST
/v1/workspaces/{workspaceId}/skills
curl --request POST \
--url https://shareout.site/v1/workspaces/example/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "markdown": "example", "slug": "example", "category": "example" }'

Same publish as POST /v1/publish with artifact_type: "skill", in the shape a form or an agent can send. Visibility is forced to workspace; the skill starts on the workspace’s default edit policy.

workspaceId
required
string

Workspace ID or slug.

Media typeapplication/json
object
name
required
string
markdown
required
string
slug
string
category
string
Examplegenerated
{
"name": "example",
"markdown": "example",
"slug": "example",
"category": "example"
}

Skill published

Slug already used in this workspace