---
title: "Get file content"
method: GET
path: "/v1/files/{fileId}/content"
tags: ["files"]
---

# Get file content

`GET /v1/files/{fileId}/content`

## Request

- Base URL: `https://api.olostep.com`
- URL: `https://api.olostep.com/v1/files/{fileId}/content`
- Auth: HTTP bearer

Returns a pre-signed download URL for a completed file. The URL expires after expires_in seconds (600 by default).

## Path parameters

- `fileId` string, required

## Query parameters

- `expires_in` integer: Seconds until the download URL expires.

## Response `200`

Default Response

- object: A pre-signed download URL for a completed file.
  - `id` string, required
  - `object` string, required
  - `created` integer, required
  - `filename` string, required
  - `bytes` integer, required
  - `download_url` string, uri, required
  - `expires_in` integer, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `404`: Default Response
- `502`: Default Response

---

[API](https://skmtc.dev/olostep/apis/olostep-api.md) · [All operations](https://skmtc.dev/olostep/apis/olostep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/olostep/apis/olostep-api/revisions/13c766ab100c?raw)
