Skip to content

List Trashed Documents Route

GET
/api/writing/documents/trash

List every trashed doc in the active project, newest-deleted first.

Declared BEFORE /documents/{document_id} on purpose — FastAPI matches path routes in declaration order, and a parameterized /{document_id} route would otherwise swallow the literal /trash segment.

Successful Response

Response List Trashed Documents Route Api Writing Documents Trash Get
Array<object>
object
key
additional properties
any