API referenceAgents and workflowsAgent roles
Agent roles
5 operations.
List agent roles (builtin lead/coder/reviewer/researcher + this tenant's custom roles)
GET /api/v1/agent-roles
Create a custom agent role (a persona assignable to runs and team members)
POST /api/v1/agent-roles
Get a custom agent role
GET /api/v1/agent-roles/{id}
Update a custom agent role (builtins are immutable; running runs keep their frozen copy)
PUT /api/v1/agent-roles/{id}
Delete a custom agent role
DELETE /api/v1/agent-roles/{id}