# List Connection Datasets

```
GET 
/v1/connections/:connection_id/datasets
```

The datasets this connection feeds, with each one's status and last refresh.

Lists only the datasets you may view, in id order. `hiddenCount` is how many more datasets this connection feeds that you may not view: they are counted, never named. `lastRefreshedAt` is when rows last landed through a refresh, and is absent for a dataset that has not landed rows through one.

A connection feeding any dataset, visible or not, refuses `DELETE /v1/connections/{connection_id}`; this is the list to read first. `GET /v1/lineage?node=connection:<id>&direction=down` walks further, to the dashboards built on these datasets.

Same access as `GET /v1/connections/{connection_id}`: a viewer, a connection in another account and an id that never existed all answer 404.

## Request[​](#request "Direkter Link zur request")

## Responses[​](#responses "Direkter Link zur Responses")

* 200
* 404
* 422

Successful Response

Not found

Validation Error
