Skip to main content
Return a single skill’s definition and all its versions. The caller’s visibility on the skill is checked (private skills are visible only to the owner).

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer (owner required for private skills).

Path parameters

string
required
Workspace id.
string
required
Skill id.

Response

object
Skill definition (fields identical to Create Skill).
array
Version list (fields see Add Version).

Example