## List Data Sources

`IReadOnlyList<DataSource> DataSources.List(DataSourceListParams?parameters, CancellationTokencancellationToken = default)`

**get** `/api/v1/data-sources`

List data sources for a given project.
If project_id is not provided, uses the default project.

### Parameters

- `DataSourceListParams parameters`

  - `string? organizationID`

  - `string? projectID`

### Example

```csharp
DataSourceListParams parameters = new();

var dataSources = await client.DataSources.List(parameters);

Console.WriteLine(dataSources);
```

#### Response

```json
[
  {
    "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    "component": {
      "foo": "bar"
    },
    "name": "name",
    "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    "source_type": "AZURE_STORAGE_BLOB",
    "created_at": "2019-12-27T18:11:19.117Z",
    "custom_metadata": {
      "foo": {
        "foo": "bar"
      }
    },
    "updated_at": "2019-12-27T18:11:19.117Z",
    "version_metadata": {
      "reader_version": "1.0"
    }
  }
]
```
