---
title: "Check file's existence"
method: POST
path: "/2/drive/{drive_id}/files/exists"
tags: ["Drive > Files"]
---

# Check file's existence

`POST /2/drive/{drive_id}/files/exists`

Check if some files ids still exists in the drive

## Path parameters

- `drive_id` integer, required

## Request body

- object
  - `ids` integer[], required — The ids of the files to check

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 91ac10ffFeedbackresource[]
    - `id` integer, required — Identifier
    - `result` boolean, required — Result of the asking query
    - `message` string — Message, additional information usually given when the result is false

## Other responses

- `403` — Forbidden
- `503` — Service Unavailable

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
