---
title: "Fetch a File"
method: GET
path: "/file/{id}"
tags: ["File"]
---

# Fetch a File

`GET /file/{id}`

## Path parameters

- `id` string, required — Unique identifier for object

## Response `200`

The file

- object
  - `content_hash` string — SHA-1 hash of the file contents
  - `content_length` integer — Length of the file contents in bytes
  - `content_type` string — A valid media type
  - `content_url` string — A url that can be used to download the file. URL is only valid for a short time
  - `id` string — Unique identifier for object

---

[API](https://skmtc.net/treasuryprime/apis/account.md) · [All operations](https://skmtc.net/treasuryprime/apis/account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasuryprime/account/revisions/95a3c69c14e8/schema)
