---
title: "Create File Link"
method: POST
path: "/me/files/links"
tags: ["User API"]
---

# Create File Link

`POST /me/files/links`

Create a ready file row that points at an external URL.

## Request body

- FileLinkCreateRequest — Request to create an external URL entry.
  - `filename` string, required
  - `mime_type` string
  - `url` string, uri, required
  - `run_id` string, uuid, nullable
  - `tags` string[], required
  - `metadata` object, nullable
  - `conflict_strategy` 'error' | 'overwrite' | 'rename'

## Response `201`

Successful Response

- FileResponse — API response wrapper for a file.
  - `data` FileModel, required — Stored file metadata.
    - `id` string, uuid, required
    - `user_id` string, required
    - `filename` string, required
    - `mime_type` string, required
    - `size_bytes` integer, required
    - `storage_provider` string, required
    - `bucket` string, required
    - `object_key` string, required
    - `public_url` string, nullable
    - `etag` string, nullable
    - `checksum_sha256` string, nullable
    - `run_id` string, uuid, nullable
    - `tags` string[], required
    - `status` 'uploading' | 'ready' | 'failed' | 'deleted', required
    - `metadata` object, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `deleted_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-31** `72e064594fc8` — 3 breaking, 4 warning, 1 info
  - added the new required request property `tags`
  - removed the required property `data/folder_path` from the response with the `201` status
  - removed the required property `data/root` from the response with the `201` status
  - removed the request property `agent_id`
  - …4 more

[Change history](https://skmtc.dev/toolhouse/apis/toolhouse-api/changes/me/files/links/post.md)

---

[API](https://skmtc.dev/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.dev/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/toolhouse/toolhouse-api/revisions/2779028589de/schema)
