---
title: "List owned uploaded files"
method: GET
path: "/api-platform/files"
tags: ["Files"]
---

# List owned uploaded files

`GET /api-platform/files`

## Request

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

List uploaded files owned by the current API key user.

Uses the current API key's permissions. Check `GET /capabilities` for availability. q filters filenames, not document content. total may be approximate; use total_is_exact and has_more. Pagination starts at page=0. Increase page while pagination.has_more is true; do not infer completion from an estimated total.

## Query parameters

- `q` union
  - string
  - unknown
- `limit` integer
- `page` integer

## Response `200`

Successful response

- FileList
  - `data` UploadedFile[], required
    - `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
  - `object` 'list', required
  - `pagination` Pagination, required
    - `has_more` boolean, required
    - `limit` integer, required
    - `offset` integer, required
    - `page` integer, required: Zero-based page index.
    - `total` integer, required
    - `total_is_exact` boolean: File lists may return an estimated total; use has_more for pagination.

## 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/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)
