---
title: "List Recycle Bin"
method: GET
path: "/api/folders/recycle-bin"
tags: ["domains"]
---

# List Recycle Bin

`GET /api/folders/recycle-bin`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/folders/recycle-bin`
- Auth: none declared

List binned folders the caller may restore or purge (TOS-7370).

Every other recycle bin in this repo has a listing surface (agents'
trash, documents' ``?deleted=true``, skills' ``deleted_only``,
organizations' own recycle-bin endpoint) - without one here, restoring a
binned folder needs its id kept out of band (adversarial review P3).

Scoped to the same authority ``_require_delete_authority`` checks per
object: direct admin membership (unaffected by the folder's own
``deleted_at`` - membership rows are untouched by binning, by design), or
owner/admin of the organization that owns the folder. Not reachability
-inherited: a binned folder, by definition, no longer participates in
inherited reach, and an org-owned folder's own membership can be empty
(TOS-7159), so this is a distinct authority query rather than a filter on
``reachable_library_ids_select``.

## Query parameters

- `scope` 'mine', nullable: mine: only folders the caller has direct authority over, even for a platform admin. Omitted: a platform admin sees every binned folder.

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- LibraryResponse[]
  - `id` string, uuid, required
  - `name` string, required
  - `my_role` string, required
  - `is_direct_member` boolean
  - `can_administer` boolean
  - `owner_identity_id` string, uuid, nullable
  - `owner_identity_display_name` string, nullable
  - `owner_identity_avatar_url` string, nullable
  - `owner_identity_kind` string, nullable
  - `is_private` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `document_count` integer
  - `member_count` integer
  - `last_activity_at` string, date-time, nullable
  - `members_preview` MemberPreviewResponse[]
    - `identity_id` string, uuid, required
    - `display_name` string, required
    - `avatar_url` string, nullable, required
    - `kind` string, required
  - `parent_id` string, uuid, nullable
  - `slug` string, nullable
  - `display_name` string, nullable
  - `path` string, nullable
  - `address` string, nullable
  - `org_identity_id` string, uuid, nullable
  - `org_display_name` string, nullable
  - `owner_org_identity_id` string, uuid, nullable
  - `owner_org_display_name` string, nullable

## Other responses

- `422`: Validation Error

---

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