Skip to main content
POST
Offer a skill only to the agents that use it

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string

Path Parameters

skill_id
string
required

The skill's stable ID (prefixed 'sk_').

Example:

"sk_abc123"

Query Parameters

dry_run
boolean
default:false

Say who keeps and who loses the skill; change nothing.

Cookies

decimal_session
string | null

Response

Done, or (with dry_run) what would happen.

status
enum<string>
required
Available options:
ok,
dry_run
skill
Skill · object
required
kind
enum<string>
required
Available options:
owned,
linked
window_days
integer
required
keep
string[]
required
already_assigned
string[]
required
loses_count
integer
required
loses_sample
string[]
required