---
title: "List Agreement Versions"
method: GET
path: "/finalize/v2/agreements/{agreement_id}/agreement_versions"
tags: ["Finalize Agreement Versions"]
---

# List Agreement Versions

`GET /finalize/v2/agreements/{agreement_id}/agreement_versions`

## Request

- Base URL: `https://api.linksquares.com/api`
- URL: `https://api.linksquares.com/api/finalize/v2/agreements/{agreement_id}/agreement_versions`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/linksquares/apis/linksquares-api/docs/finalize/v2/agreements/:agreement_id/agreement_versions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agreement_id` string, uuid, required

## Response `200`

success

- object
  - `data` object[], required
    - `id` string, uuid, required: The UUID of the agreement version.
    - `file_name` string, required: The name of the agreement version file.
    - `status_id` string, uuid, required: The UUID of the agreement version's current status.
    - `created_at` string, date-time, required: The ISO 8601 datetime of when the agreement version was created.
    - `deleted_at` string, date-time, nullable, required: The ISO 8601 datetime of when the agreement version was deleted. Expected to be null if not deleted.
  - `total_count` integer, required: Total number of items returned
  - `_links` object, required
    - `next` object
      - `href` string: URL to the next page of items (null if none)
    - `prev` object
      - `href` string: URL to the previous page of items (null if none)

## Other responses

- `404`: not_found
- `422`: unprocessable_entity

---

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