---
title: "Get deleted items"
method: GET
path: "/api/v2/deleted_items"
tags: ["Deleted Items"]
---

# Get deleted items

`GET /api/v2/deleted_items`

List deleted items in the recycle bin.

## Query parameters

- `sort` string[]
- `filter` union — Filter schema for `deleted_item` list endpoints — pass a single condition or a logical group.
  - object — A logical filter group — combine multiple conditions with the `$op` operator.
    - `$op` 'or' | 'and', required — Logical operator combining conditions in this group. `or` matches records satisfying any condition; `and` requires all conditions to match.
  - FilterDeletedItem — Filter parameters for deleted items (trash).
    - `item_type` union — Filter by the resource type of the deleted item.
      - object — Filter using explicit operator syntax.
        - `contains` ItemType — unresolved $ref
        - `not_eq` ItemType — unresolved $ref
        - `eq` ItemType — unresolved $ref
        - `not_contain` ItemType — unresolved $ref
      - ItemType — unresolved $ref
    - `query` union — Search deleted items by name (text search).
      - Query — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_contain` Query — unresolved $ref
        - `contains` Query — unresolved $ref
        - `not_eq` Query — unresolved $ref
        - `eq` Query — unresolved $ref
    - `location` union — Filter by the location path where the item was deleted from.
      - object — Filter using explicit operator syntax.
        - `contains` Location — unresolved $ref
        - `eq` Location — unresolved $ref
        - `not_contain` Location — unresolved $ref
        - `not_eq` Location — unresolved $ref
      - Location — unresolved $ref
    - `name` union — Filter by the deleted item's name (text search).
      - Name — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_eq` Name — unresolved $ref
        - `contains` Name — unresolved $ref
        - `not_contain` Name — unresolved $ref
        - `eq` Name — unresolved $ref
    - `created_at` union — Filter by deletion date range (`created_at` on the deleted item record).
      - CreatedAt — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `contains` CreatedAt — unresolved $ref
        - `not_eq` CreatedAt — unresolved $ref
        - `not_contain` CreatedAt — unresolved $ref
        - `eq` CreatedAt — unresolved $ref
    - `deleter_id` union — Filter by the person who deleted the item.
      - DeleterId — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_contain` DeleterId — unresolved $ref
        - `contains` DeleterId — unresolved $ref
        - `not_eq` DeleterId — unresolved $ref
        - `eq` DeleterId — unresolved $ref
    - `id` union — Filter by deleted item ID.
      - object — Filter using explicit operator syntax.
        - `not_eq` Id — unresolved $ref
        - `contains` Id — unresolved $ref
        - `eq` Id — unresolved $ref
        - `not_contain` Id — unresolved $ref
      - Id — unresolved $ref

## Headers

- `X-Organization-Id` string, required

## Response `200`

Collection deleted item

---

[API](https://skmtc.net/productive/apis/api-documentation.md) · [All operations](https://skmtc.net/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/11e8576224b8/schema)
