API: Agents + Templates + Stations
Purpose: manage agents, topology, template lifecycle, and station taxonomy.Agents
GET /api/agentsPOST /api/agents/createPOST /api/agents/create-from-templateGET /api/agents/hierarchyGET/PATCH /api/agents/:idPOST /api/agents/:id/provisionPOST /api/agents/:id/test- avatar routes:
/api/agents/:id/avatar
Agent update example
Agent Templates
GET/POST /api/agent-templatesGET/PATCH/DELETE /api/agent-templates/:id- file/export/import routes under
/api/agent-templates/*
Stations
GET/POST /api/stationsPATCH/DELETE /api/stations/:id
Error patterns
409 STATION_NAME_TAKEN/STATION_IN_USE400 INVALID_ICON,INVALID_COLOR,INVALID_SORT_ORDER- policy failures return
428/403