{ "info": { "_postman_id": "693e823f-5480-4f91-8dec-44480fc52182", "name": "Amigo Account Workspace Data Queries API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:03:29.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "lastUpdatedBy": "35240", "uid": "35240-693e823f-5480-4f91-8dec-44480fc52182" }, "item": [ { "name": "v1", "item": [ { "name": "{workspace_id}", "item": [ { "name": "data_queries", "item": [ { "name": "{query_id}", "item": [ { "name": "invoke", "item": [ { "name": "Invoke Workspace Data Query", "id": "58cfd518-c1c8-4d74-827c-2dda735d85ac", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"input\": {\n \"deserunt_09\": 8341167.340527326,\n \"labore7\": true\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id/invoke", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id", "invoke" ], "variable": [ { "id": "278b060b-5981-4172-b816-9787d4030cd1", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "f81e8a39-4e1f-4e11-a90a-baa8ae5f16cc", "key": "query_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "c682803a-d976-440f-901e-d9b16be159b5", "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 \"input\": {\n \"deserunt_09\": 8341167.340527326,\n \"labore7\": true\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id/invoke", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id", "invoke" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"result\": [\n {\n \"dolora4\": 43247276,\n \"nona\": false\n },\n {\n \"ut6\": 92076613,\n \"dolor_000\": 49987352,\n \"ex4\": \"et dolore proident \",\n \"dolor_06f\": 1306380.7481913567\n }\n ],\n \"duration_ms\": 0,\n \"row_count\": 0\n}", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-c682803a-d976-440f-901e-d9b16be159b5" }, { "id": "a5ac6fcc-cf0b-4ef2-9e98-cd44b70a044c", "name": "Workspace data query not found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"input\": {\n \"deserunt_09\": 8341167.340527326,\n \"labore7\": true\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id/invoke", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id", "invoke" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-a5ac6fcc-cf0b-4ef2-9e98-cd44b70a044c" }, { "id": "0e675946-23f1-46a5-a0f7-770ec238594e", "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 \"input\": {\n \"deserunt_09\": 8341167.340527326,\n \"labore7\": true\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id/invoke", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id", "invoke" ], "variable": [ { "key": "workspace_id" }, { "key": "query_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:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-0e675946-23f1-46a5-a0f7-770ec238594e" }, { "id": "95bcc675-4f2c-4b3c-a8b5-066443995af5", "name": "Execution failed", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"input\": {\n \"deserunt_09\": 8341167.340527326,\n \"labore7\": true\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id/invoke", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id", "invoke" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-95bcc675-4f2c-4b3c-a8b5-066443995af5" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-58cfd518-c1c8-4d74-827c-2dda735d85ac" } ], "id": "ef096f4e-9dca-499e-b7b4-457d782c6db1", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-ef096f4e-9dca-499e-b7b4-457d782c6db1" }, { "name": "Get Workspace Data Query", "id": "50bd7784-1f60-4797-9b7a-ff5e64803869", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "id": "d6e4f67b-6d77-4d0f-ab0f-8a679532e235", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "3e997bea-d3b2-4b3f-83da-a8033609e961", "key": "query_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "a04d2a04-b48a-461a-a38e-02b039f36f61", "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/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"\",\n \"type\": \"integer\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\",\n \"deployed_at\": \"\",\n \"deployed_by\": \"\",\n \"last_invoked_at\": \"\"\n}", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-a04d2a04-b48a-461a-a38e-02b039f36f61" }, { "id": "f7daf56c-646f-4bbc-9b77-2a934d62ab6c", "name": "Workspace data query not found", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-f7daf56c-646f-4bbc-9b77-2a934d62ab6c" }, { "id": "638eb514-dce9-4c05-8561-349028ea217d", "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/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_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:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-638eb514-dce9-4c05-8561-349028ea217d" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-50bd7784-1f60-4797-9b7a-ff5e64803869" }, { "name": "Update Workspace Data Query", "id": "0d5d6aad-077e-4126-85f4-fd92224b05ca", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"ycfszwbczj\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"g\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"dqe\",\n \"type\": \"number\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "id": "bec08812-2aac-4561-bda4-a2a16152f3ec", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "59cb5d44-0fe2-4cbc-ba45-2a1aaa9db5c6", "key": "query_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "73c880de-2ef8-41fe-84a7-5c2c4a03c291", "name": "Successful Response", "originalRequest": { "method": "PATCH", "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 \"name\": \"ycfszwbczj\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"g\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"dqe\",\n \"type\": \"number\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"\",\n \"type\": \"integer\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\",\n \"deployed_at\": \"\",\n \"deployed_by\": \"\",\n \"last_invoked_at\": \"\"\n}", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-73c880de-2ef8-41fe-84a7-5c2c4a03c291" }, { "id": "cf4d3e38-d55e-4132-a9ca-42695c3ff731", "name": "Workspace data query not found", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"ycfszwbczj\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"g\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"dqe\",\n \"type\": \"number\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-cf4d3e38-d55e-4132-a9ca-42695c3ff731" }, { "id": "5c23f31b-74de-47d2-8d6a-2e88298431c0", "name": "A workspace data query with the given name already exists", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"ycfszwbczj\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"g\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"dqe\",\n \"type\": \"number\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-5c23f31b-74de-47d2-8d6a-2e88298431c0" }, { "id": "4009ba26-c592-4386-a25a-5bb3116aee6e", "name": "Validation failure", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"ycfszwbczj\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"g\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"dqe\",\n \"type\": \"number\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-4009ba26-c592-4386-a25a-5bb3116aee6e" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-0d5d6aad-077e-4126-85f4-fd92224b05ca" }, { "name": "Delete Workspace Data Query", "id": "89f51aa7-6f3c-44c0-b575-6b5cb817aca6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "id": "ccac47d2-fb4a-4372-a66e-1d6f41ba2ad6", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "43c9b280-024f-4e0f-966c-bc0eb9441691", "key": "query_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "890f7942-4ad3-49c5-8d71-b75dcdf639cb", "name": "Successful Response", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-890f7942-4ad3-49c5-8d71-b75dcdf639cb" }, { "id": "357e8628-9552-4857-b80a-84530b6644cd", "name": "Workspace data query not found", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-357e8628-9552-4857-b80a-84530b6644cd" }, { "id": "ef86979d-9d78-45e6-90b3-518c6c155937", "name": "Validation Error", "originalRequest": { "method": "DELETE", "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/data_queries/:query_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries", ":query_id" ], "variable": [ { "key": "workspace_id" }, { "key": "query_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:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-ef86979d-9d78-45e6-90b3-518c6c155937" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-89f51aa7-6f3c-44c0-b575-6b5cb817aca6" } ], "id": "904af593-37b0-4ac0-a325-4d93a4dd289c", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-904af593-37b0-4ac0-a325-4d93a4dd289c" }, { "name": "List workspace data queries", "id": "648c985b-9cf1-49fd-95ce-b35ef170f6f2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries?limit=50&description=Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "query": [ { "description": "Maximum number of queries to return per page.", "key": "limit", "value": "50" }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "description", "value": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it." }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "title", "value": "Continuation Token" } ], "variable": [ { "id": "69e73ea0-6ac2-4a45-a413-c2eeeabb8e25", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "List every registered query for a workspace. Sort via repeated `sort_by` query params; each entry is `+field` or `-field` (allowed field: deployed_at). Default: `-deployed_at`. Cursor opaque \u2014 round-trip `continuation_token` unchanged with the same `sort_by`. Requires `Workspace.view` permission." }, "response": [ { "id": "651e3e23-906e-492e-b80b-2be50794474b", "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/data_queries?limit=50&description=Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "query": [ { "description": "Maximum number of queries to return per page.", "key": "limit", "value": "50" }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "description", "value": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it." }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"items\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameter_count\": \"\",\n \"timeout_ms\": \"\",\n \"deployed_at\": \"\",\n \"deployed_by\": \"\",\n \"last_invoked_at\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameter_count\": \"\",\n \"timeout_ms\": \"\",\n \"deployed_at\": \"\",\n \"deployed_by\": \"\",\n \"last_invoked_at\": \"\"\n }\n ],\n \"has_more\": \"\",\n \"continuation_token\": {\n \"title\": \"Continuation Token\"\n }\n}", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-651e3e23-906e-492e-b80b-2be50794474b" }, { "id": "72879f42-0d50-4726-a815-661bfa279741", "name": "Missing or invalid API key.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries?limit=50&description=Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "query": [ { "description": "Maximum number of queries to return per page.", "key": "limit", "value": "50" }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "description", "value": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it." }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-72879f42-0d50-4726-a815-661bfa279741" }, { "id": "799b947b-62cb-4ce0-a16a-8a4df4dc08f8", "name": "Insufficient permissions.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries?limit=50&description=Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "query": [ { "description": "Maximum number of queries to return per page.", "key": "limit", "value": "50" }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "description", "value": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it." }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-799b947b-62cb-4ce0-a16a-8a4df4dc08f8" }, { "id": "306935fe-8c93-47fe-91f3-4ed4763f698d", "name": "Query parameter failed validation or continuation_token is unparseable.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries?limit=50&description=Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "query": [ { "description": "Maximum number of queries to return per page.", "key": "limit", "value": "50" }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "description", "value": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it." }, { "description": "Opaque continuation token from a prior response. Treat as a\nblack box \u2014 the server decodes it.", "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-306935fe-8c93-47fe-91f3-4ed4763f698d" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-648c985b-9cf1-49fd-95ce-b35ef170f6f2" }, { "name": "Create Workspace Data Query", "id": "72e31586-8ce9-4ffd-b429-fe3cb468b9aa", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"nqg9\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"a5usju61g\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"xoa\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": 5000\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "variable": [ { "id": "76403e1e-9ec1-4189-9396-d96d3f980210", "key": "workspace_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "4fb27bbb-87a4-482f-ab5e-0cf8c0e2fdaa", "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 \"name\": \"nqg9\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"a5usju61g\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"xoa\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": 5000\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"\",\n \"type\": \"string\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"\",\n \"type\": \"integer\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": \"\",\n \"deployed_at\": \"\",\n \"deployed_by\": \"\",\n \"last_invoked_at\": \"\"\n}", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-4fb27bbb-87a4-482f-ab5e-0cf8c0e2fdaa" }, { "id": "ff66cc64-a483-488f-a711-7c2360b4ab9f", "name": "A workspace data query with the given name already exists", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"nqg9\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"a5usju61g\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"xoa\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": 5000\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-ff66cc64-a483-488f-a711-7c2360b4ab9f" }, { "id": "8ac11d27-a003-4b99-93e6-71e8f75bbe29", "name": "Validation or precondition failure", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"nqg9\",\n \"description\": \"\",\n \"sql_template\": \"\",\n \"parameters\": [\n {\n \"name\": \"a5usju61g\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n },\n {\n \"name\": \"xoa\",\n \"type\": \"boolean\",\n \"description\": \"\",\n \"default\": \"\"\n }\n ],\n \"timeout_ms\": 5000\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data_queries", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data_queries" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-8ac11d27-a003-4b99-93e6-71e8f75bbe29" } ], "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-72e31586-8ce9-4ffd-b429-fe3cb468b9aa" } ], "id": "8130e354-6583-449c-9ad9-bdcb8447f507", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-8130e354-6583-449c-9ad9-bdcb8447f507" } ], "id": "a820a32a-dba3-4c66-8428-95e164f4a1ab", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-a820a32a-dba3-4c66-8428-95e164f4a1ab" } ], "id": "53ca9a8d-a209-4d46-a6f5-9920c4be474f", "createdAt": "2026-07-28T01:03:30.000Z", "updatedAt": "2026-07-28T01:03:30.000Z", "uid": "35240-53ca9a8d-a209-4d46-a6f5-9920c4be474f" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }