---
title: "V1 Get Contract"
method: GET
path: "/api/v1/contracts/{contract_id}"
tags: ["public-api"]
---

# V1 Get Contract

`GET /api/v1/contracts/{contract_id}`

## Request

- Base URL: `https://api.general.legal`
- URL: `https://api.general.legal/api/v1/contracts/{contract_id}`
- Auth: HTTP bearer

Single document with its released versions (version ids feed downloads).

## Path parameters

- `contract_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ContractSummary
  - `id` union, required
    - string, uuid
    - string
  - `name` string, nullable
  - `contract_type` string, nullable
  - `versions` VersionSummary[], nullable
    - `id` union
      - string, uuid
      - string
    - `version_number` integer, nullable
    - `file_name` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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