---
title: "Get File with Signed URL"
method: GET
path: "/api/file/{file_id}"
tags: ["File"]
---

# Get File with Signed URL

`GET /api/file/{file_id}`

Get all of the information for a file along with a signed s3 url corresponding to the file_id requested such that you can download the file.

## Path parameters

- `file_id` string, uuid, required

## Query parameters

- `ttl` integer, nullable
- `content_type` string, nullable

## Headers

- `TR-Dataset` string, uuid, required

## Response `200`

The file's information and s3_url where the original file can be downloaded

- FileDTO
  - `created_at` string, date-time, required
  - `file_name` string, required
  - `id` string, uuid, required
  - `link` string, nullable
  - `metadata` unknown
  - `s3_url` string, required
  - `size` integer, required
  - `tag_set` string[], nullable
  - `time_stamp` string, date-time, nullable
  - `updated_at` string, date-time, required

## Other responses

- `400` — Service error relating to finding the file
- `404` — File not found

---

[API](https://skmtc.net/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.net/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/versions/84583e7c9fc1/schema)
