API reference / agent
agent
/api/v1/agentsList agent configurations
- Auth:
- required (min role: admin)
- Response:
- { data }
/api/v1/agents/:typeGet agent configuration by type
- Auth:
- required (min role: admin)
- Response:
- { data }
/api/v1/agents/:type/suggestGet agent suggestions (advisor mode)
- Auth:
- required (min role: admin)
- Request:
- { requestId, agentType, action, parameters, orgId, requestedBy, correlationId, requestedAt, timeoutMs }
- Response:
- { data }
/api/v1/agents/:type/executeExecute agent action (assisted/autonomous)
- Auth:
- required (min role: director)
- Request:
- { requestId, agentType, action, parameters, orgId, requestedBy, correlationId, requestedAt, timeoutMs }
- Response:
- { data }
/api/v1/agents/:type/streamStream agent operation via SSE
- Auth:
- required (min role: admin)
- Streaming:
- SSE (text/event-stream)
/api/v1/agents/:type/feedbackSubmit feedback feedback
- Auth:
- required
- Response:
- { success, message }
/api/v1/agents/:type/streamGET /api/v1/agents/[type]/stream?action=generate_formation&
- Auth:
- required
- Streaming:
- SSE (text/event-stream)