> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/013_forms/009__list_paginated_form_versions.md).

# List Form Versions (Paginated)

GraphQL endpoint: `/company`

Lists a form's versions, most-recent first, cursor-paginated. Pass `paginationInfo.nextCursor` back as `cursor` to fetch the next page.

## Query

```graphql
query ($formId: ID!, $limit: Int, $cursor: String) {
  paginatedFormVersions(formId: $formId, limit: $limit, cursor: $cursor) {
    paginationInfo {
      limit
      nextCursor
    }
    records {
      id
      version
      published
    }
  }
}

```

## Variables

```json
{
  "formId": "00000000-0000-4000-8000-000000000003"
}
```

## Response

```json
{
  "data": {
    "paginatedFormVersions": {
      "paginationInfo": {
        "limit": 20,
        "nextCursor": null
      },
      "records": [
        {
          "id": "00000000-0000-4000-8000-000000000001",
          "published": false,
          "version": 1
        },
        {
          "id": "00000000-0000-4000-8000-000000000002",
          "published": true,
          "version": 2
        }
      ]
    }
  }
}
```
