---
title: "List Steep Erasures"
method: GET
path: "/api/v1/steep/erasures"
tags: ["authed"]
---

# List Steep Erasures

`GET /api/v1/steep/erasures`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/steep/erasures`
- Auth: none declared

Deletion receipts, newest first. A full page means more may exist.

## Query parameters

- `end_user_id` string, nullable: Only this end user's deletions; an end user's id is kept on its receipt for 2 days.
- `before_requested_at` string, date-time, nullable: With before_id: the last row of the previous page's requested_at, to read the next page.
- `before_id` string, uuid, nullable: With the sort cursor: the last row of the previous page's id.
- `limit` integer: The most receipts to return.

## Response `200`

Successful Response

- SteepErasureReceipt[]
  - `id` string, uuid, required: The deletion's id.
  - `scope` 'session' | 'end_user', required
  - `session_id` string, uuid, nullable, required: The journey deleted; null for an end user's deletion.
  - `end_user_id` string, nullable, required: The end user whose journeys were deleted; null for one journey's deletion, and null once the deletion is 2 days old.
  - `requested_at` string, date-time, required: When the deletion was asked for.
  - `status` 'pending' | 'completed', required
  - `deleted_session_count` integer, required: How many journeys the deletion removed; 0 for an end user with none stored yet.
  - `completed_at` string, date-time, nullable, required: When the data was gone from storage; null while pending.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error

---

[API](https://skmtc.dev/teaflask/apis/teaflask-api.md) - [All operations](https://skmtc.dev/teaflask/apis/teaflask-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teaflask/apis/teaflask-api/revisions/d23e9286b847?raw)
