---
title: "List File items"
method: GET
path: "/api/v3/file/items"
tags: ["File"]
---

# List File items

`GET /api/v3/file/items`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/file/items`
- Auth: HTTP bearer

List File items.

## Query parameters

- `archiveReason.anyOf` string[]
- `archived.anyOf` boolean[]
- `createdAt.gt` string, datetime
- `createdAt.gte` string, datetime
- `createdAt.lt` string, datetime
- `createdAt.lte` string, datetime
- `creator.anyOf` string[]
- `folder.eq` string
- `id.anyOf` string[]
- `mentionedIn.anyOf` string[]
- `modifiedAt.gt` string, datetime
- `modifiedAt.gte` string, datetime
- `modifiedAt.lt` string, datetime
- `modifiedAt.lte` string, datetime
- `name.anyOf` string[]
- `name.anyOf.caseSensitive` string[]
- `nextToken` string
- `omit` string[]
- `pageSize` integer
- `returning` string[]
- `sort` 'createdAt:asc' | 'createdAt:desc' | 'modifiedAt:asc' | 'modifiedAt:desc'

## Response `200`

OK

- FilePaginatedList
  - `items` File[]
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `createdAt` string, datetime
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `currentVersionId` string, nullable
    - `customFields` CustomField[], nullable
      - `__typename` string
      - `name` string, nullable
      - `value` string, nullable
    - `displayId` string, nullable
    - `externalFileId` string, nullable: Use scratchFile to access externalFileId.
    - `filename` string, nullable: Use scratchFile to access filename.
    - `folder` FolderRef
      - `__typename` string
      - `id` string, api_id
    - `id` string
    - `mimeType` string, nullable: Use scratchFile to access mimeType.
    - `modifiedAt` string, datetime
    - `name` string, nullable
    - `scratchFile` ScratchFileRef
      - `__typename` string
      - `id` string, api_id
    - `versions` string, uri: Published versions of the File, newest first.
  - `nextToken` string, nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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