Assign many skills to many agents in a single request
Batch equivalent of POST /{agent_name}/skills/{skill_id}.
Idempotent per pair (re-assigning an existing pair updates its pin). One unknown/foreign skill or a single bad pair does NOT fail the batch — it’s reported as an error item so the caller can surface a partial result, the same way the old client-side loop tolerated per-agent failures.
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Cookies
Body
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.
Response
Successful Response
The response is of type Response Batch Assign Skills To Agents Api V1 Agents Skills Batch Assign Post · object.