Skip to content
For LLMsView as Markdown·

Ask a question about your data (switched off) ​

Deprecated

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

http
POST https://api.onehazel.com/analytics-copilot/copilot/chat

Switched off. Every request returns 410 with code COPILOT_DISABLED. This endpoint is being removed.

Section: Analytics
Operation id: postAnalyticsCopilotCopilotChat

Authentication ​

Operator API key (oh_live_...) or a signed-in session token, as a bearer token.

Request body ​

JSON object.

Responses ​

200 { "success": true, "data": ... }

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

Example ​

bash
curl -X POST "https://api.onehazel.com/analytics-copilot/copilot/chat" \
  -H "Authorization: Bearer oh_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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