Workflow 01
API surface
Each agent exposes OpenAI-compatible /v1/chat/completions and /v1/models under its own API key — a drop-in for OpenAI SDKs with streaming, JSON-Schema structured outputs, files and images, client-side tool calling and Idempotency-Key. The native /api/answer endpoint returns the answer and its sources as one JSON response; /stream emits answer, source, tool_calls and thought events over SSE and accepts attachments. Both pass variables into prompt templates and can run any agent by id with a personal access token. The MCP server at /mcp lets assistants such as Claude or Cursor search an agent's knowledge, and every instance serves its own Swagger reference.
/v1/chat/completions · /v1/models · /api/answer · /stream (SSE) · JSON Schema · Idempotency-Key · /mcp · Swagger reference