Skip to content
Proud to collaborate with Microsoft for Startups

agents.skill.create ​

Create a new agent skill

Create a new AgentSkill row.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
APIPOST /api/agents/skillsAPI — manage agent skill definitions

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
namestringYes——
kindstringYes——
descriptionstringNo——
webhook_urlstringNo——
webhook_secretstringNo——
webhook_schemadictNo——
workflow_typestringNo——
visibilitystringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
skill_uuidjsonNo——
organization_uuidjsonNo——
namejsonNo——
kindjsonNo——
descriptionjsonNo——
webhook_urljsonNo——
webhook_secretjsonNo——
webhook_schemajsonNo——
workflow_typejsonNo——
visibilityjsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
createdSUCCESSAgent skill createdskill_uuid, organization_uuid, name, kind
failedFAILUREAgent skill created failedfailure_reason, error, error_type, failed_at_state, failed_step, failed_layer

Business Errors ​

CodeMessage Template
AGENTS_ORGANIZATION_CONTEXT_INVALIDAuthenticated organization context is missing or does not match the workflow input
AGENTS_SKILL_NOT_FOUNDAgent skill {skill_uuid} was not found in the organization
AGENTS_VALIDATION_FAILEDWorkflow input or domain state failed validation:
AGENTS_CONFLICTConflicting agent domain state:

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents.skill.create",
  "initial_data": {
    "organization_uuid": "value",
    "name": "value",
    "kind": "value"
  }
}