---
title: "List versions of a legal document"
method: GET
path: "/legal-documents/{legal_document_id}/versions"
tags: ["legal-documents"]
---

# List versions of a legal document

`GET /legal-documents/{legal_document_id}/versions`

Returns all versions of the given legal document, ordered by effective date descending (most recent first).

## Path parameters

- `legal_document_id` string, required — The ID of the legal document.

## Response `200`

OK

- LegalDocumentVersion[]
  - `created_at` string, date-time, required — The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was created.
  - `effective_at` string, date-time, required — Time the legal document version becomes effective.
  - `file` string, required — ID of the file for the legal document version.
  - `id` string, required — Unique resource identifier.
  - `legal_document` string, required — ID of the parent legal document.
  - `modified_at` string, date-time, required — The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was last modified.
  - `version` string, required — Version of the legal document.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/joinsophic/apis/sophic-engine-api.md) · [All operations](https://skmtc.net/joinsophic/apis/sophic-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joinsophic/sophic-engine-api/revisions/5b4c43e2941b/schema)
