---
title: "Retrieve a file version"
method: GET
path: "/files/{file_id}/versions/{version_id}/"
tags: ["Files"]
---

# Retrieve a file version

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

Retrieves the details of a file version
#### Returns

Returns a JSON object with a `data` key containing the representation of the requested file, if the request was successful.

If the request is unsuccessful, an `errors` key containing information about the failure will be returned. Refer to the [list of error codes](#tag/Errors-and-Error-Codes) to understand why this request may have failed.

## Path parameters

- `file_id` string, required
- `version_id` string, required

## Response `200`

OK

---

[API](https://skmtc.net/osf/apis/osf-apiv2-documentation.md) · [All operations](https://skmtc.net/osf/apis/osf-apiv2-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osf/osf-apiv2-documentation/revisions/3c5164c707eb/schema)
