---
title: "List files with optional app and action filters (DEPRECATED)"
method: GET
path: "/api/v3.1/files/list"
tags: ["Files"]
deprecated: true
---

# List files with optional app and action filters (DEPRECATED)

`GET /api/v3.1/files/list`

> **Deprecated.**

DEPRECATED: This endpoint is deprecated and will be removed in a future release. Retrieves a list of files associated with the authenticated project. Results can be filtered by toolkit and tool slugs. Responses carry a `Deprecation` header (RFC 9745) for client-side detection.

## Query parameters

- `toolkit_slug` string — Filter files by app slug. Example: "file-converter"
- `tool_slug` string — Filter files by action slug. Example: "convert-to-pdf"
- `limit` number, nullable
- `cursor` string

## Response `200`

Successfully retrieved files

- object
  - `items` object[], required
    - `toolkit_slug` string, required — Slug of the app where this file belongs to. Example: "file-converter"
    - `tool_slug` string, required — Slug of the action where this file belongs to. Example: "convert-to-pdf"
    - `filename` string, required — Name of the original file. Example: "document.docx"
    - `mimetype` string, required — Mime type of the original file. Example: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    - `md5` string, required — MD5 hash of the file for integrity verification. Example: "d41d8cd98f00b204e9800998ecf8427e"
  - `next_cursor` string, nullable
  - `total_pages` number, required
  - `current_page` number, required
  - `total_items` number, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1.md) · [All operations](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api-v3-1/revisions/4239836857f8/schema)
