{ "info": { "_postman_id": "1e01b589-b469-4d80-886f-7a37eb03700f", "name": "Amigo Account Insights API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:01:00.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "lastUpdatedBy": "35240", "uid": "35240-1e01b589-b469-4d80-886f-7a37eb03700f" }, "item": [ { "name": "v1", "item": [ { "name": "{workspace_id}", "item": [ { "name": "insights", "item": [ { "name": "sql", "item": [ { "name": "Execute Sql", "id": "0aab895d-a37e-4fed-a331-61665616aa94", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"sql\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sql", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sql" ], "variable": [ { "id": "c3bfb6af-4012-4e8a-b48e-245e25dada50", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "Execute a read-only SQL query against Databricks." }, "response": [ { "id": "20abfa25-fd47-46a6-9069-1a1fceb0ce61", "name": "Successful Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"sql\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sql", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sql" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"results\": [\n {\n \"Utd2\": 43087003,\n \"ullamco_86\": true\n },\n {\n \"laborumd\": -8991300.7753378\n }\n ],\n \"count\": \"\",\n \"error\": \"\"\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-20abfa25-fd47-46a6-9069-1a1fceb0ce61" }, { "id": "c3eea200-ee8b-44d6-9f21-ab26c205769f", "name": "Validation Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"sql\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sql", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sql" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-c3eea200-ee8b-44d6-9f21-ab26c205769f" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-0aab895d-a37e-4fed-a331-61665616aa94" } ], "id": "06e299d4-e283-4835-abd3-6bafb9d958e9", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-06e299d4-e283-4835-abd3-6bafb9d958e9" }, { "name": "schema", "item": [ { "name": "Describe Schema", "id": "0932228a-a2dd-40c8-b065-24ef52120f9c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/schema", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "schema" ], "variable": [ { "id": "8ce27394-3c4b-4e82-af51-f337149e16be", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "List available tables, columns, and functions." }, "response": [ { "id": "01031c16-d17d-4b27-bd9f-95f139b0797a", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/schema", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "schema" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"lakebase_tables\": {\n \"magnae48\": {\n \"officia947\": \"\",\n \"sit_5d4\": \"\"\n }\n },\n \"databricks_catalogs\": [\n \"\",\n \"\"\n ],\n \"uc_functions\": [\n {\n \"Lorem14\": \"\",\n \"ad72\": \"\"\n },\n {\n \"nostrud__\": \"\",\n \"in_0\": \"\",\n \"nulla_3\": \"\",\n \"nostrud_c\": \"\"\n }\n ],\n \"ai_functions\": [\n \"\",\n \"\"\n ]\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-01031c16-d17d-4b27-bd9f-95f139b0797a" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-0932228a-a2dd-40c8-b065-24ef52120f9c" } ], "id": "7107e032-0d29-4f56-9704-7528a904c8ff", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-7107e032-0d29-4f56-9704-7528a904c8ff" }, { "name": "suggestions", "item": [ { "name": "Get Suggestions", "id": "e9bb9c1d-3bd4-48d6-81fe-a69e29e60882", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/suggestions", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "suggestions" ], "variable": [ { "id": "e250ddea-652c-4bcf-a664-a334fbd29910", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "Get contextual starter questions for the insights agent." }, "response": [ { "id": "646cf02c-1de9-4808-9809-b655109f7aaa", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/suggestions", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "suggestions" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"suggestions\": [\n \"\",\n \"\"\n ]\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-646cf02c-1de9-4808-9809-b655109f7aaa" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-e9bb9c1d-3bd4-48d6-81fe-a69e29e60882" } ], "id": "a811e7ac-8ced-4989-9439-e118f1b46651", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-a811e7ac-8ced-4989-9439-e118f1b46651" }, { "name": "digest", "item": [ { "name": "Get Digest", "id": "441f2043-9c20-4006-bc94-6be6ed9e227e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/digest", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "digest" ], "variable": [ { "id": "163cda43-8bbb-4ca6-ab3b-ae6db64240cb", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "Proactive workspace health digest. Cached 5 minutes." }, "response": [ { "id": "97051490-3949-4d22-b78e-8b438b24db9d", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/digest", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "digest" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"ina1\": false,\n \"Excepteur3\": -2692230.1727651656\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-97051490-3949-4d22-b78e-8b438b24db9d" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-441f2043-9c20-4006-bc94-6be6ed9e227e" } ], "id": "37d83cdb-f9cf-4821-a5c8-a34161f1be6d", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-37d83cdb-f9cf-4821-a5c8-a34161f1be6d" }, { "name": "sessions", "item": [ { "name": "{session_id}", "item": [ { "name": "chat", "item": [ { "name": "Chat", "id": "a203e582-ae42-424f-a5f0-2d617b4aa08c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"message\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id/chat", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id", "chat" ], "variable": [ { "id": "3796ba45-6bf0-45b1-83ae-84617f2c93c4", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "1728297d-e6e2-446b-ae4f-b777b66c45fe", "key": "session_id", "value": "", "description": "(Required) Session ID" } ] }, "description": "Chat with the insights agent. Returns SSE stream of visual blocks." }, "response": [ { "id": "fdd5daca-cd7b-4faa-9a48-19e11145c10a", "name": "Successful Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"message\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id/chat", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id", "chat" ], "variable": [ { "key": "workspace_id" }, { "key": "session_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-fdd5daca-cd7b-4faa-9a48-19e11145c10a" }, { "id": "46d29dc9-2c9c-434c-bbf3-c5fc7aab1167", "name": "Validation Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"message\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id/chat", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id", "chat" ], "variable": [ { "key": "workspace_id" }, { "key": "session_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-46d29dc9-2c9c-434c-bbf3-c5fc7aab1167" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-a203e582-ae42-424f-a5f0-2d617b4aa08c" } ], "id": "15194a64-9328-40bf-a1e5-ebccc2c4d377", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-15194a64-9328-40bf-a1e5-ebccc2c4d377" }, { "name": "Get Session", "id": "9ec277fe-98af-462a-8efc-7b97ca1b6f1b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id" ], "variable": [ { "id": "033057c5-afad-467b-9c1a-ca6c11290f75", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "6356fdb4-bd87-4f7c-987b-bc5aa27d8987", "key": "session_id", "value": "", "description": "(Required) Session ID" } ] }, "description": "Get insights session history." }, "response": [ { "id": "5616b5f0-7b2d-411a-be0e-3453f447a0ae", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id" ], "variable": [ { "key": "workspace_id" }, { "key": "session_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"sunt_b\": \"aliquip ut\",\n \"sunt_c24\": false,\n \"in40\": \"officia sunt\",\n \"euf57\": -15701988.827363819\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-5616b5f0-7b2d-411a-be0e-3453f447a0ae" }, { "id": "a75dfe62-03a9-4eb7-99d7-09c4dee9cf4c", "name": "Validation Error", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions/:session_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions", ":session_id" ], "variable": [ { "key": "workspace_id" }, { "key": "session_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-a75dfe62-03a9-4eb7-99d7-09c4dee9cf4c" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-9ec277fe-98af-462a-8efc-7b97ca1b6f1b" } ], "id": "6254f9eb-e34d-4c82-8d65-dc9f42c63c6f", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-6254f9eb-e34d-4c82-8d65-dc9f42c63c6f" }, { "name": "Create Session", "id": "9ab39c5c-d170-43b0-9571-d6881d58a9f6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions" ], "variable": [ { "id": "a02557ee-4871-4dee-b212-6763f0383c14", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "Create a new insights chat session." }, "response": [ { "id": "45a06576-fb7f-447e-b597-753947eba434", "name": "Successful Response", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/insights/sessions", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "insights", "sessions" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\"\n}", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-45a06576-fb7f-447e-b597-753947eba434" } ], "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-9ab39c5c-d170-43b0-9571-d6881d58a9f6" } ], "id": "9a4f18c0-c7db-4420-b3c7-5e0103c6b15d", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-9a4f18c0-c7db-4420-b3c7-5e0103c6b15d" } ], "id": "4f124a75-4b65-476a-97a2-1fab3f15aeda", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-4f124a75-4b65-476a-97a2-1fab3f15aeda" } ], "id": "ca83620c-73a1-48c6-856c-afb6f8636bbc", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-ca83620c-73a1-48c6-856c-afb6f8636bbc" } ], "id": "d3136e66-0067-4d4c-a1b3-d2ccf978dfdb", "createdAt": "2026-07-28T01:01:01.000Z", "updatedAt": "2026-07-28T01:01:01.000Z", "uid": "35240-d3136e66-0067-4d4c-a1b3-d2ccf978dfdb" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }