{ "opencollection": "1.0.0", "info": { "name": "Amigo Account Insights API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Insights", "type": "folder" }, "items": [ { "info": { "name": "Execute Sql", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/insights/sql", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Execute a read-only SQL query against Databricks." }, { "info": { "name": "Describe Schema", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/insights/schema", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ] }, "docs": "List available tables, columns, and functions." }, { "info": { "name": "Get Suggestions", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/insights/suggestions", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ] }, "docs": "Get contextual starter questions for the insights agent." }, { "info": { "name": "Get Digest", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/insights/digest", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ] }, "docs": "Proactive workspace health digest. Cached 5 minutes." }, { "info": { "name": "Create Session", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/insights/sessions", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ] }, "docs": "Create a new insights chat session." }, { "info": { "name": "Chat", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/insights/sessions/:session_id/chat", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "session_id", "value": "", "type": "path", "description": "Session ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Chat with the insights agent. Returns SSE stream of visual blocks." }, { "info": { "name": "Get Session", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/insights/sessions/:session_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "session_id", "value": "", "type": "path", "description": "Session ID" } ] }, "docs": "Get insights session history." } ] } ], "bundled": true }