---
title: "Link File Entity"
method: POST
path: "/api/explore/files/{file_id}/entities"
---

# Link File Entity

`POST /api/explore/files/{file_id}/entities`

## Request

- Base URL: `https://api.yourbeckett.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yourbeckett.com/api/explore/files/{file_id}/entities`
- Auth: none declared

Link an entity to a file.

## Path parameters

- `file_id` string, required

## Request body

- FileEntityRequest
  - `entity_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
