---
title: "Downloading Deleted Dataset Entities"
method: GET
path: "/v1/projects/{projectId}/trash/datasets/{datasetId}/entities.csv"
tags: ["Dataset Management"]
---

# Downloading Deleted Dataset Entities

`GET /v1/projects/{projectId}/trash/datasets/{datasetId}/entities.csv`

_(introduced: version 2026.1)_

Returns a CSV snapshot of the Entities belonging to a soft-deleted Dataset. This is useful for exporting Entity data before the Dataset is permanently purged after 30 days in the trash.

The CSV format is identical to [Download Dataset](/central-api-dataset-management/#download-dataset), except the filename will have a `-deleted` suffix (e.g. `people-deleted.csv`).

This endpoint uses the numeric Dataset ID rather than the Dataset name because the name alone is not sufficient to unambiguously identify a deleted Dataset (the same name could be reused). The numeric ID can be retrieved by [listing Datasets with `?deleted=true`](/central-api-dataset-management/#listing-datasets).

Unlike [Download Dataset](/central-api-dataset-management/#download-dataset), this endpoint does not support `$filter`, `$search`, or `ETag`.

## Path parameters

- `projectId` number, required
- `datasetId` number, required

## Response `200`

OK

## Changes

- **2026-04-03** `2aed27d9e013` — 1 info
  - endpoint added
- **2025-03-13** `e8c2858fd4eb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/projects/:projectId/trash/datasets/:datasetId/entities.csv/get.md)

---

[API](https://skmtc.dev/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.dev/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getodk/odk-central-api/revisions/dc3ccc706398/schema)
