---
title: "GET /deletedFiles"
method: GET
path: "/deletedFiles"
tags: ["Files"]
---

# GET /deletedFiles

`GET /deletedFiles`

Returns a list of deleted files.

## Query parameters

- `sort` string[]
- `mimeType` 'video/mp4' | 'application/directory' — The media content type.
- `mimeType__contains` 'video/mp4' | 'application/directory' — The media content type.
- `createTimestamp__lte` string, date-time — Date and time when the item was created.
- `createTimestamp__gte` string, date-time — Date and time when the item was created.
- `name` string — Name of the item.
- `name__contains` string
- `pageToken` string
- `pageSize` integer

## Response `200`

OK

- ApiPaginatedFileResponseSlim — Used to wrap results for a paginated response, containing information on how to retrieve further pages and, if available, the total number of results.
  - `nextPageToken` string, nullable, required — Token to retrieve the next page. The value of this token is passed into the field pageToken. This value can be null if there is no next page.
  - `prevPageToken` string, nullable, required — Token to retrieve the previous page. The value of this token is passed into the field pageToken. This value can be null of there is no previous page.
  - `totalSize` integer, nullable — The number of resource entries being returned from the result set. This can be omitted if the API endpoint does not have total size information.
  - `results` object[], required — The result set from a collection API call.
    - `id` string
    - `directory` string — Name of the parent directory.
    - `mimeType` 'video/mp4' | 'application/directory' — The media content type.
    - `name` string — Name of the item.

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `404` — Referenced resource could not be found.
- `500` — Something went wrong in the server. Please try again.

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/versions/df57313de545/schema)
