---
title: "List folders in Trash"
method: GET
path: "/tables/folders/trash/"
tags: ["tables"]
---

# List folders in Trash

`GET /tables/folders/trash/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/tables/folders/trash/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The folders somebody moved to Trash, newest first, each with how many tables went with it. A folder that went with its own parent is not listed.

## Response `200`

Successful Response

- TrashedTableFolderListSchema: The folders in Trash, newest deletion first.
  - `folders` TrashedTableFolderSchema[], required
    - `deleted_at` string, date-time, required
    - `id` string, uuid, required
    - `name` string, required
    - `table_count` integer, required: Tables that went to Trash with it, and come back with it.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
