---
title: "Get file information."
method: GET
path: "/api/v2/cddrive/files/{file-id}"
tags: ["CD Drive"]
---

# Get file information.

`GET /api/v2/cddrive/files/{file-id}`

Get the information about a file in the customer's private CD Drive.

## Response `200`

The file information.

- CDDriveFile — A file in the CD Drive that contains content.
  - `name` string, required — The name of the file including the extension.
  - `parentId` integer, required — The ID of the parent folder or 0 for the root folder.
  - `id` integer, required — The ID of the file.
  - `createdDate` string, date-time, required — The date and time the file was created in ISO 8601 format.
  - `lastModifiedDate` string, date-time, required — The date and time the file was last modified in ISO 8601 format.
  - `size` integer — The size of the file in bytes.

## Other responses

- `404` — The file cannot be found.

---

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