Skip to main content
GET
/
trash
/
items
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/trash/items \
  --header 'Authorization: Bearer <token>'
{
  "trashItems": [
    {
      "id": "<string>",
      "resourceId": "<string>",
      "resourceType": "space",
      "deletedTime": "<string>",
      "deletedBy": "<string>"
    }
  ],
  "userMap": {},
  "resourceMap": {},
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

resourceId
string
required
resourceType
enum<string>
required
Available options:
base,
table
cursor
string | null

Response

200 - application/json

Get trash successfully

trashItems
object[]
required
userMap
object
required
resourceMap
object
required
nextCursor
string | null
Last modified on December 10, 2025