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

# Get a file

`GET /v1/files/{id}`

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- TypeEnvelopeGetFileV1EnvelopeDefaultMeta
  - `data` TypeGetFileV1, required
    - `downloadUrl` string, required — URL to download the file
    - `expiryTime` string, date-time — Time when the file will be automatically deleted. Typically 48 hours after the file is uploaded
    - `fileBytes` integer, required — Size of the file in bytes
    - `fileName` string, required — Name of the file
    - `fileType` 'browser_download' | 'screenshot' | 'recording' | 'customer_upload', required — Type of the file
    - `id` string, uuid, required — ID of the file
    - `orgId` string, required — ID of the organization
    - `sessionIds` string[] — IDs of the associated sessions
    - `status` 'available' | 'uploading' | 'upload_failed' | 'deleted', required — Status of the file
    - `uploadStartTime` string, date-time, required — Time when the file upload was started
  - `errors` TypeIssue[]
    - `code` string — Issue code.
    - `details` object — Any associated details.
    - `message` string, required — Message describing the issue.
    - `reason` string — Underlying reason for the issue.
  - `meta` TypeEnvelopeDefaultMeta, required
    - `requestId` string
  - `warnings` TypeIssue[]
    - `code` string — Issue code.
    - `details` object — Any associated details.
    - `message` string, required — Message describing the issue.
    - `reason` string — Underlying reason for the issue.

---

[API](https://skmtc.net/airtop/apis/airtop-api.md) · [All operations](https://skmtc.net/airtop/apis/airtop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airtop/airtop-api/revisions/77d6e0f03453/schema)
