Skip to content
For LLMsView as Markdown·

Open the MCP event stream (per-operator URL) ​

Deprecated

Kept for existing clients. Prefer the canonical endpoint in the same section.

http
GET https://api.onehazel.com/mcp-server/{operatorId}/events

Section: MCP
Operation id: getMcpServerByOperatorIdEvents

Authentication ​

Operator API key with MCP enabled (Authorization: Bearer oh_live_...).

Parameters ​

NameInRequiredDescription
operatorIdpathyes
sessionqueryyesSession id, matched against the Mcp-Session-Id header on requests.

Responses ​

200 server-sent event stream (text/event-stream).

Errors return { "success": false, "error": { "code": "...", "message": "..." } } with a 4xx or 5xx status.

Example ​

bash
curl -X GET "https://api.onehazel.com/mcp-server/{operatorId}/events" \
  -H "Authorization: Bearer oh_live_YOUR_API_KEY"

Machine-readable: openapi.yaml, openapi.json.