Skip to main content
POST
Assign a skill to this agent (optionally pinned to a specific version)

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

agent_name
string
required
skill_id
string
required

Query Parameters

pin_version_id
string | null

Optional skill_version.id to pin. Null = follow the skill's latest version.

Cookies

decimal_session
string | null

Response

Successful Response

The response is of type Response Assign Skill To Agent Api V1 Agents Agent Name Skills Skill Id Post · object.