---
title: "List files"
method: GET
path: "/v1/files"
tags: ["files"]
---

# List files

`GET /v1/files`

List all files for the authenticated user.

Args:
    pagination: The pagination options

Returns:
    A list of files belonging to the user.

## Query parameters

- `limit` integer — Maximum number of items to return per page (1-100)
- `after` string, nullable — Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
- `before` string, nullable — Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
- `include_total` boolean — Whether to include total count in response (expensive operation)
- `q` string, nullable — Search query for fuzzy matching over name and description fields

## Response `200`

A list of files for the user

- FileListResponse
  - `pagination` CursorPaginationResponse, required — Response model for cursor-based pagination.
    - `has_more` boolean, required — Contextual direction-aware flag: True if more items exist in the requested pagination direction. For 'after': more items after this page. For 'before': more items before this page.
    - `first_cursor` string, nullable, required — Cursor of the first item in this page. Use for backward pagination. None if page is empty.
    - `last_cursor` string, nullable, required — Cursor of the last item in this page. Use for forward pagination. None if page is empty.
    - `total` integer, nullable — Total number of items available across all pages. Only included when include_total=true was requested. Expensive operation - use sparingly.
  - `object` 'list' — The object type of the response
  - `data` FileObject[], required — The list of files
    - `id` string, required — Unique identifier for the file
    - `filename` string, required — Name of the file including extension
    - `bytes` integer, required — Size of the file in bytes
    - `mime_type` string, required — MIME type of the file
    - `version` integer, required — Version of the file
    - `created_at` string, date-time, required — Timestamp when the file was created
    - `updated_at` string, date-time, required — Timestamp when the file was last updated

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/versions/2eece97b5ae5/schema)
