Skill Agents
Manage sub-agents attached to a skill.
The Skill Agent object
object"skill.agent"requiredidstringrequiredskill_idstringrequirednamestringrequireddescriptionstringrequirednullableslugstringrequiredstatus"active" | "archived"requiredstore_idstringrequiredstore_item_idstringrequirednullablepathstringrequirednullabledocument_idstringrequiredarchived_atdaterequirednullablecreated_atdaterequiredupdated_atdaterequiredEndpoints
Create skill agent
POST
/skills/:skill_id/agentsCreates a new agent document in the skill agents directory.
Path parameters
skill_idstringrequiredThe unique identifier for the skill
Request body
namestringrequireddescriptionstringoptionalnullablecontentstringoptionalExample request
List skill agents
GET
/skills/:skill_id/agentsReturns a paginated list of agents for a specific skill.
Path parameters
skill_idstringrequiredThe unique identifier for the skill
Query parameters
include_archivedbooleanoptionalExample request
Get skill agent by ID
GET
/skills/:skill_id/agents/:skill_agent_idRetrieves a specific agent within a skill.
Path parameters
skill_idstringrequiredThe unique identifier for the skill
skill_agent_idstringrequiredThe unique identifier for the skill_agent
Example request
Update skill agent
PATCH
/skills/:skill_id/agents/:skill_agent_idUpdates the name or description for a specific skill agent.
Path parameters
skill_idstringrequiredThe unique identifier for the skill
skill_agent_idstringrequiredThe unique identifier for the skill_agent
Request body
namestringoptionaldescriptionstringoptionalnullableExample request
Delete skill agent
DELETE
/skills/:skill_id/agents/:skill_agent_idArchives a specific skill agent and removes its linked store item.
Path parameters
skill_idstringrequiredThe unique identifier for the skill
skill_agent_idstringrequiredThe unique identifier for the skill_agent