{
  "info": {
    "_postman_id": "c9690b2e-33eb-4fd3-9cf1-435fba3f60dc",
    "name": "Amigo Account Data Query API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:00:44.000Z",
    "updatedAt": "2026-07-28T01:00:44.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c9690b2e-33eb-4fd3-9cf1-435fba3f60dc"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "{workspace_id}",
          "item": [
            {
              "name": "query",
              "item": [
                {
                  "name": "{schema}",
                  "item": [
                    {
                      "name": "{table}",
                      "item": [
                        {
                          "name": "Query Table",
                          "id": "0b435275-4049-4011-8303-f13a3cba5abe",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/query/:schema/:table?select=<string>&order=<string>&limit=20&offset=0",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "query",
                                ":schema",
                                ":table"
                              ],
                              "query": [
                                {
                                  "key": "select",
                                  "value": "<string>"
                                },
                                {
                                  "key": "order",
                                  "value": "<string>"
                                },
                                {
                                  "key": "limit",
                                  "value": "20"
                                },
                                {
                                  "key": "offset",
                                  "value": "0"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "c4717d2e-7c73-499e-899d-3e7e5c85e62b",
                                  "key": "workspace_id",
                                  "value": "<uuid>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "b3096df7-2a01-4c80-8cd0-8995f29183fa",
                                  "key": "schema",
                                  "value": "<string>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "d482dfae-45a4-4856-8e0e-c6a9fcdf56a9",
                                  "key": "table",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Query a table with PostgREST-style filtering, sorting, and pagination."
                          },
                          "response": [
                            {
                              "id": "52631d23-4899-40e1-a718-30fafa483ee7",
                              "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 <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/query/:schema/:table?select=<string>&order=<string>&limit=20&offset=0",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "query",
                                    ":schema",
                                    ":table"
                                  ],
                                  "query": [
                                    {
                                      "key": "select",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "order",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "limit",
                                      "value": "20"
                                    },
                                    {
                                      "key": "offset",
                                      "value": "0"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "schema"
                                    },
                                    {
                                      "key": "table"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"items\": [\n    {\n      \"ex2a5\": true\n    },\n    {\n      \"proidente8\": 14074262,\n      \"deserunt_c7\": -7388546.746959567\n    }\n  ],\n  \"count\": \"<integer>\",\n  \"has_more\": \"<boolean>\"\n}",
                              "createdAt": "2026-07-28T01:00:44.000Z",
                              "updatedAt": "2026-07-28T01:00:44.000Z",
                              "uid": "35240-52631d23-4899-40e1-a718-30fafa483ee7"
                            },
                            {
                              "id": "577e1489-e609-4d9c-907a-e4eda52b0b0f",
                              "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 <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/query/:schema/:table?select=<string>&order=<string>&limit=20&offset=0",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "query",
                                    ":schema",
                                    ":table"
                                  ],
                                  "query": [
                                    {
                                      "key": "select",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "order",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "limit",
                                      "value": "20"
                                    },
                                    {
                                      "key": "offset",
                                      "value": "0"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "schema"
                                    },
                                    {
                                      "key": "table"
                                    }
                                  ]
                                }
                              },
                              "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        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:00:44.000Z",
                              "updatedAt": "2026-07-28T01:00:44.000Z",
                              "uid": "35240-577e1489-e609-4d9c-907a-e4eda52b0b0f"
                            }
                          ],
                          "createdAt": "2026-07-28T01:00:44.000Z",
                          "updatedAt": "2026-07-28T01:00:44.000Z",
                          "uid": "35240-0b435275-4049-4011-8303-f13a3cba5abe"
                        }
                      ],
                      "id": "4bd1433a-d3dc-4bdb-9d32-65c1dd654ff3",
                      "createdAt": "2026-07-28T01:00:44.000Z",
                      "updatedAt": "2026-07-28T01:00:44.000Z",
                      "uid": "35240-4bd1433a-d3dc-4bdb-9d32-65c1dd654ff3"
                    }
                  ],
                  "id": "0aa0e131-9add-497f-9dd4-3dce9686df35",
                  "createdAt": "2026-07-28T01:00:44.000Z",
                  "updatedAt": "2026-07-28T01:00:44.000Z",
                  "uid": "35240-0aa0e131-9add-497f-9dd4-3dce9686df35"
                }
              ],
              "id": "6981e297-cce2-4c3d-a4ec-0822079325db",
              "createdAt": "2026-07-28T01:00:44.000Z",
              "updatedAt": "2026-07-28T01:00:44.000Z",
              "uid": "35240-6981e297-cce2-4c3d-a4ec-0822079325db"
            }
          ],
          "id": "6b5c8d25-9b11-4f45-9ebb-a6c7f6d3a9a4",
          "createdAt": "2026-07-28T01:00:44.000Z",
          "updatedAt": "2026-07-28T01:00:44.000Z",
          "uid": "35240-6b5c8d25-9b11-4f45-9ebb-a6c7f6d3a9a4"
        }
      ],
      "id": "901e04c5-7b82-438a-8ec9-926b94930f60",
      "createdAt": "2026-07-28T01:00:44.000Z",
      "updatedAt": "2026-07-28T01:00:44.000Z",
      "uid": "35240-901e04c5-7b82-438a-8ec9-926b94930f60"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}