{
  "opencollection": "1.0.0",
  "info": {
    "name": "GrowthBook REST AnalyticsExplorations data-sources API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "data-sources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all data sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.growthbook.io/api/v1/data-sources",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "How many items to skip (use in conjunction with limit for pagination)"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query",
                "description": "Filter by project id"
              }
            ]
          },
          "docs": "Get all data sources"
        },
        {
          "info": {
            "name": "Get a single data source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.growthbook.io/api/v1/data-sources/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the requested resource"
              }
            ]
          },
          "docs": "Get a single data source"
        },
        {
          "info": {
            "name": "Get a Data Source's Information Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.growthbook.io/api/v1/data-sources/:dataSourceId/information-schema",
            "params": [
              {
                "name": "dataSourceId",
                "value": "",
                "type": "path",
                "description": "The id of the data source"
              }
            ]
          },
          "docs": "Returns cached database schema metadata for a data source, including databases, schemas, and tables. The information schema is automatically created when a SQL-based data source is added. Not all data source types support information schemas."
        },
        {
          "info": {
            "name": "Get a single Information Schema Table by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.growthbook.io/api/v1/information-schema-tables/:tableId",
            "params": [
              {
                "name": "tableId",
                "value": "",
                "type": "path",
                "description": "The id of the information schema table"
              }
            ]
          },
          "docs": "Returns cached metadata for a specific table in the Data Source, including columns and their data types. Not all data source types support information schemas."
        }
      ]
    }
  ],
  "bundled": true
}