---
title: "Gets properties of a particular version of a file."
method: GET
path: "/files/{id}/versions/{version_id}"
tags: ["files"]
---

# Gets properties of a particular version of a file.

`GET /files/{id}/versions/{version_id}`

Will return the properties of a particular version of a file.

## Path parameters

- `id` string, required
- `version_id` string, required

## Response `200`

The call was successful.

- FileVersion — A file version object
  - `file_name` string — The file name of the file.
  - `version` integer — Raw version number for the file.
  - `details` FileArchiveDetails — Details for an archive file.
    - `directory` FileArchiveDirectory[] — Files contained in the archive
      - `path` string — Path of the file relative to its root.
      - `size` number — The size of the file in bytes.
      - `updated` string — An iso8601 formatted timestamp
  - `content_type` string — Type of the content for this version of the file.
  - `label` string — Description for this version of the file.
  - `created` string — An iso8601 formatted timestamp

---

[API](https://skmtc.dev/webscale/apis/webscale-apis.md) · [All operations](https://skmtc.dev/webscale/apis/webscale-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webscale/webscale-apis/revisions/c98d872b50cb/schema)
