Trash
Deleted documents and attachments stay in the trash until they are restored or purged.
View as MarkdownEndpoints
- GETList the trash
/v1/workspaces/{workspaceId}/trash - DELEmpty the trash
/v1/workspaces/{workspaceId}/trash
The TrashItem object
- kindstring
One of
documentattachment - idULID
- titlestring
Document title or attachment filename.
Where a document goes back to on restore, if still there.
- deletedAttimestamp
- descendantCountinteger
Documents trashed together with it.
{
"kind": "document",
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"title": "Meeting notes",
"parentId": null,
"deletedAt": "2026-11-12T09:30:00.000Z",
"deletedBy": null,
"descendantCount": 0
}