Work
Skills
Packaged capabilities your assistants use: instructions, connected tool servers and recurring workflows.
/skillsList skills
Returns the skills available to the caller, with how each is installed for them.
Query parameters
Responses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"skills": [
{
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
],
"total": 42,
"page": 1
}/skillsCreate a skill
Creates a skill. Every kind takes `name`, `title`, `description` and `instructions`. `kind: "workflow"` adds `triggers` and run limits; `kind: "mcp"` takes `mcpServerUrl`, `mcpTransport` and `mcpAuthType`. With an account key alone the skill is available app-wide; with `X-User-Email` it is created for that user only.
Request body
knowledgemcpcliagentpromptpluginworkflowtask_templatepublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnullnowrecurringtrigger-basedcronwebhooktimestampconditioninactivitysystemcompoundmanualminutelyhourlydailyweeklymonthlycalendaremailevent.scheduledevent.rescheduledevent.attendeesUpdatedevent.metadataUpdatedevent.cancelledemail.receivedemail.senttask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedminuteshoursdaysminuteshoursdaysminuteshoursminuteshoursdaystask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedandorqueuedropreplacestreamable-httpssenoneoauthapi_keyResponses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "vendor-approval-policy",
"title": "Vendor approval policy",
"description": "Harborview rules for approving vendor quotes",
"kind": "knowledge",
"instructions": "Quotes over 5,000 USD need sign-off from Maria Chen before you accept them."
}'Response
{
"ok": true,
"skill": {
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
}/skills/{skillId}Retrieve a skill
Retrieves a skill by id or name.
Path parameters
Responses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills/<skillId>' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"skill": {
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
}/skills/{skillId}Update a skill
Updates a skill you created. Only the fields you send change. `skillId` is the id or the name.
Path parameters
Request body
knowledgemcpcliagentpromptpluginworkflowtask_templatepublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnullactivedraftarchivednowrecurringtrigger-basedcronwebhooktimestampconditioninactivitysystemcompoundmanualminutelyhourlydailyweeklymonthlycalendaremailevent.scheduledevent.rescheduledevent.attendeesUpdatedevent.metadataUpdatedevent.cancelledemail.receivedemail.senttask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedminuteshoursdaysminuteshoursdaysminuteshoursminuteshoursdaystask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedandorqueuedropreplacestreamable-httpssenoneoauthapi_keyResponses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills/<skillId>' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"instructions": "Quotes over 10,000 USD need sign-off from Maria Chen before you accept them."
}'Response
{
"ok": true,
"skill": {
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
}/skills/{skillId}Update a skill
Updates a skill you created. Only the fields you send change. `skillId` is the id or the name.
Path parameters
Request body
knowledgemcpcliagentpromptpluginworkflowtask_templatepublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnullactivedraftarchivednowrecurringtrigger-basedcronwebhooktimestampconditioninactivitysystemcompoundmanualminutelyhourlydailyweeklymonthlycalendaremailevent.scheduledevent.rescheduledevent.attendeesUpdatedevent.metadataUpdatedevent.cancelledemail.receivedemail.senttask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedminuteshoursdaysminuteshoursdaysminuteshoursminuteshoursdaystask.completedtask.failedtask.createdworkflow.triggeredworkflow.completedworkflow.failedandorqueuedropreplacestreamable-httpssenoneoauthapi_keyResponses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills/<skillId>' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"instructions": "Quotes over 10,000 USD need sign-off from Maria Chen before you accept them."
}'Response
{
"ok": true,
"skill": {
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
}/skills/{skillId}/publishPublish a skill
Saves the skill's current content as a new version. Pass `deploy` to make that version live in `environment`. `skillId` must be the id.
Path parameters
Request body
Responses
knowledgemcpcliagentpromptpluginworkflowtask_templateactivedraftarchivedpublicprivatetransparentopaqueautomanuallowmediumhighultranulllowmediumhighxhighmaxnulllivepausedRequest
curl 'https://api.agnt.ai/skills/<skillId>/publish' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"environment": "production"
}'Response
{
"ok": true,
"publish": {
"versionNumber": 1,
"etag": "etag",
"skill": {
"id": "6660c4a1f2e3b7d8a9c01234",
"name": "Ava",
"title": "Send Brightline the contract renewal",
"description": "Draft it, get Maria to sign off, send it."
}
}
}