Skip to main content
POST
Fork a skill — create an independent copy in the caller's workspace

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string
X-Workspace-Id
string | null

Path Parameters

skill_name
string
required

Cookies

decimal_session
string | null

Body

application/json

Validated request for POST /skills/{name}/fork.

new_name
string
required
Required string length: 1 - 200
workspace_id
string | null
offer_scope
enum<string> | null

Which agents get the copy: 'restricted' (the default) = only agents you add it to, 'workspace' = every agent. (Until 2026-10-25 a fork from an API key that left it out was offered to every agent.)

Available options:
workspace,
restricted

Response

Successful Response