API referenceSections

MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/mcp may answer 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

Authentication: API key (Authorization: Bearer …).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Request body

required

Content type: application/json

object
  • jsonrpc string required
    Allowed values: "2.0"
  • id string | integer optional

    One of 1: string

    One of 2: integer

  • method string required
  • params object optional
Example
{
  "jsonrpc": "2.0",
  "id": "string",
  "method": "string",
  "params": {}
}

Responses

200 JSON-RPC answer

Content type: application/json

object
Example
{}

202 Notification accepted

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required