Skip to main content
POST
Assign many skills to many agents in a single request

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string
X-Workspace-Id
string | null

Cookies

decimal_session
string | null

Body

application/json

Assign many skills to many agents in one call.

Two ways to specify the work; each resulting pair behaves exactly like a single POST /{agent_name}/skills/{skill_id} call:

pairs — explicit (agent_name, skill_id[, pin_version_id]) tuples. • skill_ids × agent_names — the cartesian product (assign every listed skill to every listed agent), i.e. the common "install this bundle onto these agents" case. pin_version_id applies to all pairs built this way.

pairs wins when both forms are present.

skill_ids
string[]
agent_names
string[]
pairs
BatchAssignPair · object[] | null
pin_version_id
string | null

Response

Successful Response

The response is of type Response Batch Assign Skills To Agents Api V1 Agents Skills Batch Assign Post · object.