---
title: "Retrieve file metadata"
method: GET
path: "/api-platform/files/{file_id}"
tags: ["Files"]
---

# Retrieve file metadata

`GET /api-platform/files/{file_id}`

## Request

- Base URL: `https://api.textcortex.com/v1`
- URL: `https://api.textcortex.com/v1/api-platform/files/{file_id}`
- Auth: HTTP bearer

Retrieve public API Platform metadata for one accessible uploaded file.

Uses the current API key's permissions. Check `GET /capabilities` for availability. Returns metadata for an owned file, not file bytes or extracted text.

## Path parameters

- `file_id` string, required

## Response `200`

Successful response

- UploadedFile
  - `async` object: Optional asynchronous upload-processing metadata.
  - `channel` string, nullable
  - `created_at` string, date-time, nullable
  - `id` string, required
  - `is_owner` boolean
  - `mime_type` string, nullable
  - `name` string, nullable
  - `object` 'file', required
  - `original_filename` string, nullable
  - `sha256` string, nullable
  - `size` integer: File size in bytes.
  - `updated_at` string, date-time, nullable
  - `uri` string, nullable
  - `visibility` string, nullable

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `403`: Access denied
- `404`: Resource not found
- `422`: Request validation failed
- `500`: Server error

## Changes

- **2026-10-08** `254204fd17bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/textcortex/apis/textcortex-api/changes/api-platform/files/:file_id/get.md)

---

[API](https://skmtc.dev/textcortex/apis/textcortex-api.md) - [All operations](https://skmtc.dev/textcortex/apis/textcortex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/textcortex/apis/textcortex-api/revisions/b27459bd3c96?raw)
