---
title: "Get a file's download link"
method: GET
path: "/api/v1alpha1/assistant/trademe/files/{file_id}/content"
tags: ["v1alpha1"]
---

# Get a file's download link

`GET /api/v1alpha1/assistant/trademe/files/{file_id}/content`

## Request

- Base URL: `https://api.trademeai.co.nz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trademeai.co.nz/api/v1alpha1/assistant/trademe/files/{file_id}/content`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/trademeai/apis/trade-me-ai-platform/docs/api/v1alpha1/assistant/trademe/files/:file_id/content/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a signed `getUrl` for an active file. Use it directly, for example as an image `src`; the bytes come from storage, not from this API. A pending file, an expired file and a file that is not the member's all answer the same 404.

## Path parameters

- `file_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- DownloadFileResponse
  - `getUrl` string, required
  - `expiresAt` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-17** `4a6ad0ee6b5e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trademeai/apis/trade-me-ai-platform/changes/api/v1alpha1/assistant/trademe/files/:file_id/content/get.md)

---

[API](https://skmtc.dev/trademeai/apis/trade-me-ai-platform.md) - [All operations](https://skmtc.dev/trademeai/apis/trade-me-ai-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/trademeai/apis/trade-me-ai-platform/revisions/1164c8a5c534?raw)
