API: Workflows + Teams + Packages
This page covers the workflow/team/package API surface.Workflows
GET /api/workflowsPOST /api/workflowsGET /api/workflows/:idPATCH /api/workflows/:idDELETE /api/workflows/:idPOST /api/workflows/:id/clonePOST /api/workflows/importGET /api/workflows/:id/exportGET /api/workflows/selectionPUT /api/workflows/selection
- Built-in workflows are read-only.
- Delete rejects active-in-use custom workflows.
Agent Teams
GET /api/agent-teamsPOST /api/agent-teamsGET /api/agent-teams/:idPATCH /api/agent-teams/:idDELETE /api/agent-teams/:idGET /api/agent-teams/:id/export
Packages
POST /api/packages/import(analyze/stage)POST /api/packages/deploy(deploy staged package)GET /api/packages/:id/export?kind=<kind>
kind values:
agent_templateagent_teamworkflowteam_with_workflows