Lookup

Get Data Sources

Get the data sources the caller has access to. The id of each data source can be used in other endpoints (e.g. /data_sources/{data_source_id}/countries/{country_code}/questions) to scope requests to a particular data source. Data sources the caller does not have access to are not returned. If an expected data source is missing, reach out to your Account Executive to confirm your entitlements are properly configured.

get/data_sources

Request

Query parameters

page_sizeinteger
Example:50

The number of results to return per request. Additional results past the page size can be retrieved using a pagination token, if one is returned in the response.

pagination_tokenstring base64

A pagination token to use to get paginated results. For more details, see the section on Pagination.

Example:eyJxdWVyeSI6ImRvZ3MifQ==

Pagination token returned from previous calls to an endpoint. When provided, no other query parameters can be specified. For more details, please see the Pagination section.

Response

Data Sources

pagination_tokenstring base64

A pagination token to use to get paginated results. For more details, see the section on Pagination.

Example response

{
  "data_sources": [
    {
      "id": "00de2081-e013-411d-823c-cd483283e38d",
      "name": "Daily Tracker",
      "countries": [
        {
          "code": "us",
          "label": "United States"
        }
      ]
    }
  ],
  "pagination_token": "eyJxdWVyeSI6ImRvZ3MifQ=="
}

Changes

No recorded changes to this operation across all 1 revision of this API.