---
title: "Mint File Token"
method: POST
path: "/api/projects/{project_id}/file-token"
---

# Mint File Token

`POST /api/projects/{project_id}/file-token`

## Request

- Base URL: `https://app.pharos.bio` (the document declares no server; this is the origin it was published from)
- URL: `https://app.pharos.bio/api/projects/{project_id}/file-token`
- Auth: none declared

Issue a short-lived token for this project's asset URLs.

Header-authenticated, so the account JWT never reaches a URL. The returned
token authorises only this project and expires in minutes — see
web.backend.file_tokens.

## Path parameters

- `project_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pharos/apis/agentic-data-scientist.md) - [All operations](https://skmtc.dev/pharos/apis/agentic-data-scientist/llms.txt) - [OpenAPI document](https://skmtc.dev/pharos/apis/agentic-data-scientist/revisions/7c77a7fe3870?raw)
