Skills

Write a workspace skill (owner only)

PUT
/v1/skills/{slug}

Authorization

bearerAuth
AuthorizationBearer <token>

A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.

In: header

Path Parameters

slug*string

Slug of the skill or MCP server.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/skills/string" \  -H "Content-Type: application/json" \  -d '{    "description": "string",    "body": "string"  }'
{  "skill": {    "slug": "string",    "name": "string",    "description": "string",    "scope": "built-in",    "path": "string",    "editable": true,    "body": "string"  }}