{ "info": { "_postman_id": "1d86b357-e0b6-46f2-a887-9fcab45fbf63", "name": "Amigo Account Data Sources API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "lastUpdatedBy": "35240", "uid": "35240-1d86b357-e0b6-46f2-a887-9fcab45fbf63" }, "item": [ { "name": "v1", "item": [ { "name": "{workspace_id}", "item": [ { "name": "data-sources", "item": [ { "name": "{data_source_id}", "item": [ { "name": "status", "item": [ { "name": "Get data source status", "id": "9da7c808-cb5a-4f72-a216-bc9ba3123f89", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/status", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "status" ], "variable": [ { "id": "cd86a8cc-197e-48b8-ab70-1bc76ab4a5d5", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "bdb273f5-d1d7-4d28-98bd-dd2a9deb565f", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Get event counts, sync status, and health for a data source." }, "response": [ { "id": "5204fc8c-3bd4-4364-84b6-21704c5029d8", "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-sources/:data_source_id/status", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "status" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data_source_id\": \"\",\n \"name\": \"\",\n \"is_active\": \"\",\n \"health_status\": \"healthy\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"error\",\n \"last_sync_event_count\": \"\",\n \"event_count\": \"\",\n \"synced_count\": \"\",\n \"failed_count\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-5204fc8c-3bd4-4364-84b6-21704c5029d8" }, { "id": "6e1be434-0554-4bad-ad08-ced0705ee236", "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-sources/:data_source_id/status", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "status" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6e1be434-0554-4bad-ad08-ced0705ee236" }, { "id": "9b2d2d4a-afa2-476c-b0cc-4004b7078032", "name": "Data source 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-sources/:data_source_id/status", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "status" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-9b2d2d4a-afa2-476c-b0cc-4004b7078032" }, { "id": "5a82a645-5923-4009-92f7-5259698a0d42", "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-sources/:data_source_id/status", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "status" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-5a82a645-5923-4009-92f7-5259698a0d42" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-9da7c808-cb5a-4f72-a216-bc9ba3123f89" } ], "id": "f34c9615-5879-4cd2-8a8b-e235b045ab84", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-f34c9615-5879-4cd2-8a8b-e235b045ab84" }, { "name": "sync-history", "item": [ { "name": "Get data source sync history", "id": "5bf9239b-3477-4511-8506-b51fd8fda57d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync-history?days=30", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync-history" ], "query": [ { "key": "days", "value": "30" } ], "variable": [ { "id": "c182d0bf-f1ed-4b3e-981f-1d1e79895767", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "09f5e089-4466-429e-8c8c-a09afcc527d2", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Daily event timeline + recent sync failures for a data source." }, "response": [ { "id": "1bf068c7-7112-46ec-9491-7785eaef2624", "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-sources/:data_source_id/sync-history?days=30", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync-history" ], "query": [ { "key": "days", "value": "30" } ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data_source_id\": \"\",\n \"name\": \"\",\n \"timeline\": [\n {\n \"date\": \"\",\n \"event_count\": \"\",\n \"synced_count\": \"\",\n \"failed_count\": \"\"\n },\n {\n \"date\": \"\",\n \"event_count\": \"\",\n \"synced_count\": \"\",\n \"failed_count\": \"\"\n }\n ],\n \"recent_failures\": [\n {\n \"event_id\": \"\",\n \"event_type\": \"\",\n \"fhir_resource_type\": \"\",\n \"fhir_resource_id\": \"\",\n \"sync_error\": \"\",\n \"created_at\": \"\"\n },\n {\n \"event_id\": \"\",\n \"event_type\": \"\",\n \"fhir_resource_type\": \"\",\n \"fhir_resource_id\": \"\",\n \"sync_error\": \"\",\n \"created_at\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-1bf068c7-7112-46ec-9491-7785eaef2624" }, { "id": "7e4d40b6-f13e-428b-88f9-b0bb0439e878", "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-sources/:data_source_id/sync-history?days=30", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync-history" ], "query": [ { "key": "days", "value": "30" } ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-7e4d40b6-f13e-428b-88f9-b0bb0439e878" }, { "id": "8d562504-a57b-4166-810e-9a2cb0d22abd", "name": "Data source 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-sources/:data_source_id/sync-history?days=30", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync-history" ], "query": [ { "key": "days", "value": "30" } ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-8d562504-a57b-4166-810e-9a2cb0d22abd" }, { "id": "22af6394-4a5d-4f7d-92f6-08a24dcd8989", "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-sources/:data_source_id/sync-history?days=30", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync-history" ], "query": [ { "key": "days", "value": "30" } ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-22af6394-4a5d-4f7d-92f6-08a24dcd8989" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-5bf9239b-3477-4511-8506-b51fd8fda57d" } ], "id": "9bd0f5f0-8ecb-4687-a2e4-181b21a9e2e0", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-9bd0f5f0-8ecb-4687-a2e4-181b21a9e2e0" }, { "name": "sync", "item": [ { "name": "Trigger a manual sync for a data source", "id": "ee316f1c-f5cf-4505-9f12-e3d28c623222", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "id": "ae7d8f17-d113-4e16-9542-8dc984e4e7ca", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "69c39d88-796e-409d-ab6c-59428c78c2c1", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Queues a one-off poll of the data source on connector-runner. Bypasses the business-hours gate and per-resource cadence counter. Returns 202 once the request is queued; the poll itself runs asynchronously. Returns 409 if the source is already mid-sync, 503 if connector-runner is unreachable. The 409 is best-effort: the status check and trigger are separate calls, so a scheduled poll can grab the lease between them \u2014 clients should treat 409 as a UX hint, not a hard guarantee." }, "response": [ { "id": "7de1c901-b847-45e5-ac6c-01083b86877d", "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/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Accepted", "code": 202, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"data_source_id\": \"\",\n \"triggered_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-7de1c901-b847-45e5-ac6c-01083b86877d" }, { "id": "1cffce8b-327f-497c-ba41-1cf3db54ad3c", "name": "Invalid data source ID format.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-1cffce8b-327f-497c-ba41-1cf3db54ad3c" }, { "id": "f6b8bdc6-ec5c-4436-9183-597e996b8307", "name": "Missing or invalid API key.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-f6b8bdc6-ec5c-4436-9183-597e996b8307" }, { "id": "15b532ac-18f8-4c5f-b48c-9fbf4a4086a4", "name": "Data source not found.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-15b532ac-18f8-4c5f-b48c-9fbf4a4086a4" }, { "id": "545ea9b5-e6e5-4ea9-9425-4ea1a18b7cc4", "name": "Data source is already syncing.", "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/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"details\": {\n \"last_poll_at\": \"\",\n \"last_poll_duration_ms\": \"\"\n }\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-545ea9b5-e6e5-4ea9-9425-4ea1a18b7cc4" }, { "id": "eff17863-a714-40ee-afa0-d43e055efcfe", "name": "Validation Error", "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/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-eff17863-a714-40ee-afa0-d43e055efcfe" }, { "id": "c127b5a4-e616-4011-822f-61d4f7f0a5a6", "name": "Rate limit exceeded.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-c127b5a4-e616-4011-822f-61d4f7f0a5a6" }, { "id": "45627d04-fccb-424a-86ef-57ae7adf6276", "name": "Connector-runner is unreachable.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id/sync", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id", "sync" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-45627d04-fccb-424a-86ef-57ae7adf6276" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-ee316f1c-f5cf-4505-9f12-e3d28c623222" } ], "id": "7cb5cea9-bac3-4940-a803-7822899429cb", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-7cb5cea9-bac3-4940-a803-7822899429cb" }, { "name": "Get a data source", "id": "ba1d79e7-9d39-4c20-aecb-bcc033deb9f7", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "id": "4a020c1e-2f71-4179-9290-013ba9085c7d", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "85d13fd2-3fcd-4d40-a9ff-4381a6a4283d", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Retrieve a data source by ID." }, "response": [ { "id": "c6068668-ae1b-4b0d-b002-3ba73b90a79d", "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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"workspace_id\": \"\",\n \"name\": \"\",\n \"display_name\": \"\",\n \"source_type\": \"fhir_store\",\n \"connection_config\": {\n \"ut_1e8\": 45610811\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"proident138\": -31802587.870093644,\n \"nonaa_\": \"exercitation Ut sit sunt\"\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"error\",\n \"last_sync_event_count\": \"\",\n \"is_active\": \"\",\n \"is_stale\": \"\",\n \"health_status\": \"degraded\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-c6068668-ae1b-4b0d-b002-3ba73b90a79d" }, { "id": "c8f5fad2-5857-48fb-9c9c-210f1f45f470", "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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-c8f5fad2-5857-48fb-9c9c-210f1f45f470" }, { "id": "f3e27fa2-fc77-4175-9ea2-e154a450f42f", "name": "Data source 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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-f3e27fa2-fc77-4175-9ea2-e154a450f42f" }, { "id": "bfdc74c3-7813-4d88-aae8-7a6b4b967f19", "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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-bfdc74c3-7813-4d88-aae8-7a6b4b967f19" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-ba1d79e7-9d39-4c20-aecb-bcc033deb9f7" }, { "name": "Update a data source", "id": "64c90012-8969-41e2-8890-2416e033baf3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"display_name\": \"\",\n \"connection_config\": {\n \"nostrud5\": -80944407.15540516,\n \"labore5\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"aute_d1c\": false,\n \"ut_1da\": -63914262.10410982,\n \"eiusmod_6b\": -4922978,\n \"amet791\": false,\n \"in_68\": false\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"is_active\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "id": "3ac15865-312b-4097-9c2f-39ed7eb3a312", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "a7c67d1b-8369-40ed-883e-f8da710a8462", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Update a data source's configuration." }, "response": [ { "id": "0349b945-d7c4-43ba-8d29-119519a91426", "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 \"display_name\": \"\",\n \"connection_config\": {\n \"nostrud5\": -80944407.15540516,\n \"labore5\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"aute_d1c\": false,\n \"ut_1da\": -63914262.10410982,\n \"eiusmod_6b\": -4922978,\n \"amet791\": false,\n \"in_68\": false\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"is_active\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"workspace_id\": \"\",\n \"name\": \"\",\n \"display_name\": \"\",\n \"source_type\": \"fhir_store\",\n \"connection_config\": {\n \"ut_1e8\": 45610811\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"proident138\": -31802587.870093644,\n \"nonaa_\": \"exercitation Ut sit sunt\"\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"error\",\n \"last_sync_event_count\": \"\",\n \"is_active\": \"\",\n \"is_stale\": \"\",\n \"health_status\": \"degraded\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-0349b945-d7c4-43ba-8d29-119519a91426" }, { "id": "2e220274-be3c-4c63-a65c-f80563d17552", "name": "Missing or invalid API key.", "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 \"display_name\": \"\",\n \"connection_config\": {\n \"nostrud5\": -80944407.15540516,\n \"labore5\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"aute_d1c\": false,\n \"ut_1da\": -63914262.10410982,\n \"eiusmod_6b\": -4922978,\n \"amet791\": false,\n \"in_68\": false\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"is_active\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-2e220274-be3c-4c63-a65c-f80563d17552" }, { "id": "6ac55d7e-237d-456d-a735-4cf12dba73a5", "name": "Data source 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 \"display_name\": \"\",\n \"connection_config\": {\n \"nostrud5\": -80944407.15540516,\n \"labore5\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"aute_d1c\": false,\n \"ut_1da\": -63914262.10410982,\n \"eiusmod_6b\": -4922978,\n \"amet791\": false,\n \"in_68\": false\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"is_active\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6ac55d7e-237d-456d-a735-4cf12dba73a5" }, { "id": "6c9625d5-f393-47e8-a227-9e016343dfc0", "name": "Validation Error", "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 \"display_name\": \"\",\n \"connection_config\": {\n \"nostrud5\": -80944407.15540516,\n \"labore5\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"aute_d1c\": false,\n \"ut_1da\": -63914262.10410982,\n \"eiusmod_6b\": -4922978,\n \"amet791\": false,\n \"in_68\": false\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"is_active\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6c9625d5-f393-47e8-a227-9e016343dfc0" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-64c90012-8969-41e2-8890-2416e033baf3" }, { "name": "Delete a data source", "id": "34a623df-e645-4ff9-9ff9-13c3b3b4d01a", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "id": "f0606068-98c7-4051-9739-32847a976f69", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "7a97dd91-6cc8-463b-a946-c8930c883eb6", "key": "data_source_id", "value": "", "description": "(Required) " } ] }, "description": "Delete a data source." }, "response": [ { "id": "21ba38b9-48b9-4be8-a4ab-e93465cb6ab2", "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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-21ba38b9-48b9-4be8-a4ab-e93465cb6ab2" }, { "id": "16e72a7f-853f-47e5-a986-0e13c03dfac2", "name": "Missing or invalid API key.", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-16e72a7f-853f-47e5-a986-0e13c03dfac2" }, { "id": "d72c6e72-9a7e-4ebf-9432-3b988474ffe7", "name": "Data source 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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-d72c6e72-9a7e-4ebf-9432-3b988474ffe7" }, { "id": "43b42083-9332-4f5a-897f-1df5a1c4b095", "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-sources/:data_source_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources", ":data_source_id" ], "variable": [ { "key": "workspace_id" }, { "key": "data_source_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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-43b42083-9332-4f5a-897f-1df5a1c4b095" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-34a623df-e645-4ff9-9ff9-13c3b3b4d01a" } ], "id": "22015884-091c-42c4-816f-c02c8fd49eae", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-22015884-091c-42c4-816f-c02c8fd49eae" }, { "name": "Create a data source", "id": "feab0731-6dfd-428b-b66d-8eecadc22af6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"source_type\": \"fhir_store\",\n \"display_name\": \"\",\n \"connection_config\": {\n \"sed_392\": \"ex aute anim\",\n \"minimc8\": \"officia cupidatat\"\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"officiaf9\": false,\n \"amet4\": 9379809\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "variable": [ { "id": "cec4cd4a-f96b-4e5f-a840-e88005eabfb1", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "Register a new external data source in the workspace." }, "response": [ { "id": "6715958a-c33d-4db4-8114-c29248acd21a", "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\": \"\",\n \"source_type\": \"fhir_store\",\n \"display_name\": \"\",\n \"connection_config\": {\n \"sed_392\": \"ex aute anim\",\n \"minimc8\": \"officia cupidatat\"\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"officiaf9\": false,\n \"amet4\": 9379809\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "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 \"workspace_id\": \"\",\n \"name\": \"\",\n \"display_name\": \"\",\n \"source_type\": \"fhir_store\",\n \"connection_config\": {\n \"ut_1e8\": 45610811\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"proident138\": -31802587.870093644,\n \"nonaa_\": \"exercitation Ut sit sunt\"\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"error\",\n \"last_sync_event_count\": \"\",\n \"is_active\": \"\",\n \"is_stale\": \"\",\n \"health_status\": \"degraded\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6715958a-c33d-4db4-8114-c29248acd21a" }, { "id": "e15fcc4f-eec0-4f53-bb9a-8256e02dbc89", "name": "Missing or invalid API key.", "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\": \"\",\n \"source_type\": \"fhir_store\",\n \"display_name\": \"\",\n \"connection_config\": {\n \"sed_392\": \"ex aute anim\",\n \"minimc8\": \"officia cupidatat\"\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"officiaf9\": false,\n \"amet4\": 9379809\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-e15fcc4f-eec0-4f53-bb9a-8256e02dbc89" }, { "id": "c08d5919-aa6c-4639-8295-4585799d927d", "name": "Insufficient permissions.", "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\": \"\",\n \"source_type\": \"fhir_store\",\n \"display_name\": \"\",\n \"connection_config\": {\n \"sed_392\": \"ex aute anim\",\n \"minimc8\": \"officia cupidatat\"\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"officiaf9\": false,\n \"amet4\": 9379809\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-c08d5919-aa6c-4639-8295-4585799d927d" }, { "id": "37b91124-0f5d-4522-92b8-b75b498a491c", "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 \"name\": \"\",\n \"source_type\": \"fhir_store\",\n \"display_name\": \"\",\n \"connection_config\": {\n \"sed_392\": \"ex aute anim\",\n \"minimc8\": \"officia cupidatat\"\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"officiaf9\": false,\n \"amet4\": 9379809\n },\n \"sync_strategy\": \"manual\",\n \"sync_schedule\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-37b91124-0f5d-4522-92b8-b75b498a491c" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-feab0731-6dfd-428b-b66d-8eecadc22af6" }, { "name": "List data sources", "id": "006d1829-9dfb-4d97-9fd2-ba3e328968a5", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/data-sources?is_active=&source_type=&source_type=&search=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "query": [ { "key": "is_active", "value": "" }, { "description": "Filter by source type (repeatable)", "key": "source_type", "value": "" }, { "description": "Filter by source type (repeatable)", "key": "source_type", "value": "" }, { "description": "Search by name, ID, type, or sync status", "key": "search", "value": "" }, { "key": "limit", "value": "10" }, { "key": "continuation_token", "value": "0" } ], "variable": [ { "id": "0052a3bd-ec62-4204-8320-f6249e7d885a", "key": "workspace_id", "value": "", "description": "(Required) " } ] }, "description": "List data sources for a workspace with optional filtering." }, "response": [ { "id": "fc584c1a-8419-4dbc-b8d1-b090e6d6d9de", "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-sources?is_active=&source_type=&search=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "query": [ { "key": "is_active", "value": "" }, { "description": "Filter by source type (repeatable)", "key": "source_type", "value": "" }, { "description": "Search by name, ID, type, or sync status", "key": "search", "value": "" }, { "key": "limit", "value": "10" }, { "key": "continuation_token", "value": "0" } ], "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 \"workspace_id\": \"\",\n \"name\": \"\",\n \"display_name\": \"\",\n \"source_type\": \"rest_api\",\n \"connection_config\": {\n \"pariatur3\": -75815045.2853437,\n \"seda\": true\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"Excepteur5a9\": 17130124,\n \"pariatur_658\": false,\n \"cupidatat2b_\": 24354704.528068498\n },\n \"sync_strategy\": \"scheduled\",\n \"sync_schedule\": \"\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"success\",\n \"last_sync_event_count\": \"\",\n \"is_active\": \"\",\n \"is_stale\": \"\",\n \"health_status\": \"degraded\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n {\n \"id\": \"\",\n \"workspace_id\": \"\",\n \"name\": \"\",\n \"display_name\": \"\",\n \"source_type\": \"database\",\n \"connection_config\": {\n \"occaecat_b8e\": true,\n \"magna__\": 54032849\n },\n \"entity_types\": [\n \"\",\n \"\"\n ],\n \"field_mappings\": {\n \"consectetur_f2c\": true\n },\n \"sync_strategy\": \"continuous\",\n \"sync_schedule\": \"\",\n \"last_sync_at\": \"\",\n \"last_sync_status\": \"error\",\n \"last_sync_event_count\": \"\",\n \"is_active\": \"\",\n \"is_stale\": \"\",\n \"health_status\": \"unknown\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n ],\n \"has_more\": \"\",\n \"continuation_token\": \"\",\n \"total\": \"\"\n}", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-fc584c1a-8419-4dbc-b8d1-b090e6d6d9de" }, { "id": "6d102136-fbe2-4357-a7ba-35f9b3116daf", "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-sources?is_active=&source_type=&search=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "query": [ { "key": "is_active", "value": "" }, { "description": "Filter by source type (repeatable)", "key": "source_type", "value": "" }, { "description": "Search by name, ID, type, or sync status", "key": "search", "value": "" }, { "key": "limit", "value": "10" }, { "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6d102136-fbe2-4357-a7ba-35f9b3116daf" }, { "id": "e1d80c6b-0c9b-4f38-8d08-f9b5088310f9", "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-sources?is_active=&source_type=&search=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "data-sources" ], "query": [ { "key": "is_active", "value": "" }, { "description": "Filter by source type (repeatable)", "key": "source_type", "value": "" }, { "description": "Search by name, ID, type, or sync status", "key": "search", "value": "" }, { "key": "limit", "value": "10" }, { "key": "continuation_token", "value": "0" } ], "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:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-e1d80c6b-0c9b-4f38-8d08-f9b5088310f9" } ], "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-006d1829-9dfb-4d97-9fd2-ba3e328968a5" } ], "id": "a5724c23-48d5-46ab-b604-a4775b14f504", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-a5724c23-48d5-46ab-b604-a4775b14f504" } ], "id": "6b9e5f36-1f93-4e30-aa74-15498c963c81", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-6b9e5f36-1f93-4e30-aa74-15498c963c81" } ], "id": "47e53a71-2e84-44c2-a72f-c906bd4593d3", "createdAt": "2026-07-28T01:00:45.000Z", "updatedAt": "2026-07-28T01:00:45.000Z", "uid": "35240-47e53a71-2e84-44c2-a72f-c906bd4593d3" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }