AI assistant and MCP
12 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/assistant | What the signed-in user may do with the assistant here (ADR 0161): on or why not, model, this month's use and budget |
| POST | /api/v1/tenants/{tid}/assistant/acknowledge | The signed-in user read the notice on how the assistant uses data |
| GET | /api/v1/tenants/{tid}/assistant/conversations | The signed-in user's own conversations in this account, newest first |
| POST | /api/v1/tenants/{tid}/assistant/conversations | Start a conversation (ASSISTANT_OFF, ASSISTANT_NOTICE_REQUIRED, ASSISTANT_BUDGET_EXCEEDED) |
| GET | /api/v1/tenants/{tid}/assistant/conversations/{cid} | One of the user's conversations with its tool cards and changes |
| DELETE | /api/v1/tenants/{tid}/assistant/conversations/{cid} | Delete a conversation for good |
| POST | /api/v1/tenants/{tid}/assistant/conversations/{cid}/actions/{aid} | Approve or decline a change the assistant proposed. Approved, it runs as the caller through its own route, audited with via=assistant, plus assistant.action; then the answer continues as server-sent events |
| POST | /api/v1/tenants/{tid}/assistant/conversations/{cid}/messages | Send a message; the answer streams as server-sent events. Tools run as the caller through these same routes; changes wait for the user (event action). Errors before the stream starts are ordinary problems (ASSISTANT_RATE_LIMITED, ASSISTANT_BUSY) |
| GET | /api/v1/tenants/{tid}/assistant/settings | The provider's assistant settings and this month's use per account; root tenant administrators |
| PUT | /api/v1/tenants/{tid}/assistant/settings | Save them. Turning on needs the API key and the data-processing notice accepted (ASSISTANT_KEY_REQUIRED, ASSISTANT_NOTICE_REQUIRED). Audited as assistant.settings |
| PUT | /api/v1/tenants/{tid}/assistant/tenant-settings | Turn the assistant off (or back on) for this account; account administrators (member.invite). Audited as assistant.tenant_settings |
| POST | /api/v1/tenants/{tid}/mcp 202 | MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping. API keys only (ASSISTANT_MCP_API_KEY_REQUIRED); the key's owner and scope apply to every tool. Notifications answer 202 |