API referenceSections

Deleted items, kept for 30 days

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/sites/{id}/files/trash

Deleted items, kept for 30 days

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Items

Content type: application/json

object
  • items array<TrashItem> required
    • id string required
    • path string required
    • kind string required
      Allowed values: "file" "dir" "link"
    • size integer (int64) required
    • deleted_at string (date-time) required
Example
{
  "items": [
    {
      "id": "string",
      "path": "string",
      "kind": "file",
      "size": 0,
      "deleted_at": "2026-01-01T00:00:00Z"
    }
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required