---
title: "List files"
method: GET
path: "/files"
---

# List files

`GET /files`

Get a paginated list of all files created by the user or organization associated with the provided API token.

Example cURL request:

```console
curl -s \
  -H "Authorization: Token $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/files
```

The response will be a paginated JSON array of file objects, sorted with the most recent file first.

## Response `200`

Success

- object
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` SchemasFileResponse[]
    - `checksums` object, required — A dictionary of checksums for the file keyed by the algorithm name
      - `sha256` string — SHA256 checksum of the file
    - `content_type` string, required — The content / MIME type of the file
    - `created_at` string, date-time, required — When the file was created
    - `expires_at` string, date-time, required — When the file expires
    - `id` string, required — A unique, randomly-generated identifier for the file resource
    - `metadata` object, required — Metadata provided by user when the file was created
    - `size` integer, required — The length of the file in bytes
    - `urls` object, required — A dictionary of URLs associated with the file resource
      - `get` string, uri — A URL to the file resource

---

[API](https://skmtc.net/replicate/apis/replicate-http-api.md) · [All operations](https://skmtc.net/replicate/apis/replicate-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicate/replicate-http-api/versions/7a537f433b0b/schema)
