---
title: "List FileVersion items"
method: GET
path: "/api/v3/file/{file_id}/versions/items"
tags: ["File"]
---

# List FileVersion items

`GET /api/v3/file/{file_id}/versions/items`

## Request

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

List the published versions of a File, newest version first.

## Path parameters

- `file_id` string, required

## Query parameters

- `creator.anyOf` string[]
- `id.anyOf` string[]
- `nextToken` string
- `pageSize` integer

## Response `200`

OK

- FileVersionPaginatedList
  - `items` FileVersion[]
    - `__typename` string
    - `createdAt` string, datetime
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `file` FileRef
      - `__typename` string
      - `id` string, api_id
    - `id` string
    - `parentVersionId` string, nullable: ID of the version that was current when this version was published, or null for a File's first version.
    - `scratchFile` ScratchFileRef
      - `__typename` string
      - `id` string, api_id
    - `versionNumber` integer: Position of the version in the File's history, starting at 1.
  - `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)
