# Get all data sources in the account GET /v3/data-sources this endpoint is get all the data sources in the account with their labels Endpoint: GET /v3/data-sources Security: API_Key ## Query parameters: - `page` (integer) Number of results page of an endpoint with paginated results - `pageSize` (integer) - `sortBy` (string) Enum: "itemName", "itemType", "lastRun" - `sortDesc` (boolean) Controls sorting order - `itemName` (string) filter the items by a given name - `labelIds` (array) filter the items by label ids - `itemType` (string) filter the items by a given item type Enum: "audit", "web-journey" - `withRuns` (boolean) if true - response will only include data sources that have at least one run, if false - only data sources that have no runs. All data sources if not set. - `withLabels` (boolean) if true - response will include labels for each data source, if false - only the data source id. All data sources if not set. Disabling labels will improve performance. - `withConsentCategories` (boolean) if true - response will include consent categories. Disabling this will improve performance. ## Response 200 fields (application/json): - `metadata` (object, required) Common metadata for iterable - `metadata.pagination` (object, required) - `metadata.pagination.totalCount` (integer, required) Total number of items available from all result pages combined - `metadata.pagination.totalPageCount` (integer, required) Total number of pages available - `metadata.pagination.pageSize` (integer, required) Page size - number of items per result page configured by size query parameter or default page size - `metadata.pagination.currentPageSize` (integer, required) Number of items in current result page - `metadata.pagination.currentPageNumber` (integer, required) Current page number/ordinal - `dataSources` (array, required) - `dataSources.itemType` (string, required) Type of data source item. Enum: "audit", "web-journey" - `dataSources.itemId` (integer, required) - `dataSources.itemName` (string) - `dataSources.lastCompletedRun` (object) - `dataSources.lastCompletedRun.runId` (integer) Example: 33010 - `dataSources.lastCompletedRun.completedAt` (string) - `dataSources.consentCategoryType` (string) Enum: "approved", "unapproved" - `dataSources.labels` (array, required) - `dataSources.labels.id` (integer, required) Label identifier Example: 223 - `dataSources.labels.name` (string, required) ## Response 400 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 401 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 403 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object)