Skip to main content
POST
Add Skills From Library

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Query Parameters

agent_id
string
required
session_id
string
required

Body

application/json

The request to put library skills into a workspace.

skill_ids
string[]
required

The installed-skill record ids to add.

Response

Successful Response

What landed, and what did not.

Reported per item rather than as one status: installing is done one at a time, so a bad API key on the third pick must not throw away the two that worked.

added
string[]

The names now in the workspace. Excludes ones already present, which are skipped rather than re-added.

failed
Failed · object

Whatever could not be added, mapped to why.