---
title: "Get User File"
method: GET
path: "/user/projects/file/{file_id}"
tags: ["public"]
---

# Get User File

`GET /user/projects/file/{file_id}`

Fetch a single user file by ID for the current user.

Includes files in any status (including FAILED) to allow status polling.

## Path parameters

- `file_id` string, uuid, required

## Response `200`

Successful Response

- UserFileSnapshot
  - `id` string, uuid, required
  - `temp_id` string, nullable
  - `name` string, required
  - `project_id` integer, nullable
  - `user_id` string, uuid, nullable, required
  - `file_id` string, required
  - `created_at` string, date-time, required
  - `status` 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'DELETING', required
  - `last_accessed_at` string, date-time, nullable, required
  - `file_type` string, nullable, required
  - `chat_file_type` 'image' | 'document' | 'plain_text' | 'csv', required
  - `token_count` integer, nullable, required
  - `chunk_count` integer, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/onyx-dot-app/apis/onyx-api.md) · [All operations](https://skmtc.net/onyx-dot-app/apis/onyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onyx-dot-app/onyx-api/versions/027af016ba5c/schema)
