Skip to main content
POST
cURL

التفويضات

Authorization
string
header
مطلوب

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

معلمات المسار

id
string
مطلوب

Skill ID to copy

الجسم

application/json
targetScopeType
enum<string>
مطلوب

Target ownership scope

الخيارات المتاحة:
base,
space,
system,
user,
User,
app,
App,
cuppyclaw,
Cuppyclaw,
routine,
Routine
targetScopeId
string

Target scope entity ID (required for base/space/app/cuppyclaw/routine)

sourceBaseId
string

Source project context: authorizes reading a folded space skill via base|read on that project.

الاستجابة

200 - application/json

Copied skill

id
string
مطلوب

Unique skill identifier

slug
string
مطلوب

URL-safe skill slug

name
string
مطلوب

Display name of the skill

skillMd
string
مطلوب

SKILL.md content defining the skill

scopeType
enum<string>
مطلوب

Ownership scope: base (project), space, system, user, app, cuppyclaw or routine

الخيارات المتاحة:
base,
space,
system,
user,
User,
app,
App,
cuppyclaw,
Cuppyclaw,
routine,
Routine
isEnabled
boolean
مطلوب

Whether the skill is enabled / available to the agent

createdTime
string
مطلوب

ISO 8601 creation timestamp

createdBy
string
مطلوب

User ID of the creator

description
string | null

Short description of what the skill does

icon
string | null

Icon identifier or emoji

sourceMeta
any | null

Source metadata (github/zip/manual)

contentHash
string | null

SHA-256 content hash for change detection

آخر تعديل في ١٥ سبتمبر ٢٠٢٦