Skip to content

Creates or updates a target's pin to an immutable skills revision and selected members for new conversations.

POST
/v1/m/skills/assignments
curl --request POST \
--url https://example.com/v1/m/skills/assignments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "approve_active_content": true, "members": [ "example" ], "pack_revision_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "target_id": "example", "target_kind": "workspace" }'

Creates or updates a target’s pin to an immutable skills revision and selected members for new conversations.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
approve_active_content

Required when a selected member carries hooks, shell interpolation, a tool pre-approval or a plugin, settings or hooks file. Revisions list these as active_content; the approval is recorded in the audit event.

boolean
members

Omitted, null, or empty selects all members of the pinned revision.

Array<string> | null
<= 64 items unique items
pack_revision_id
required
string format: uuid
target_id
required

Public ppf_ profile reference for a profile target; canonical UUID for every other target kind.

string
target_kind
required
string
Allowed values: workspace profile folder template agent_group agent session

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}