---
title: "Api Law At Commit"
method: GET
path: "/api/v1/{country}/laws/{law_id}/at/{sha}"
tags: ["api"]
---

# Api Law At Commit

`GET /api/v1/{country}/laws/{law_id}/at/{sha}`

## Request

- Base URL: `https://legalize.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://legalize.dev/api/v1/{country}/laws/{law_id}/at/{sha}`
- Auth: API key in header `Authorization`

Get the full text of a law at a specific recorded version.

Same discriminator as `/at`: check `text_state`, `kind` and `warning`
before quoting. They describe this SHA, even if a later revision has
different source coverage or legal status. A version's date comes from the
source's publication date where known, or its explicit cutoff when no
publication date is recorded. Neither establishes entry into force, and a
`current` snapshot does not establish historical wording.

## Path parameters

- `country` string, required
- `law_id` string, required
- `sha` string, required

## Response `200`

Successful Response

- LawAtCommitResponse
  - `law_id` string, required
  - `sha` string, required
  - `content_md` string, required
  - `kind` string
  - `text_state` string
  - `status` string, nullable
  - `in_force` boolean, nullable
  - `source_url` string, nullable
  - `basis` string, nullable
  - `text_superseded` boolean, nullable
  - `warning` string, nullable
  - `amended_by` object[]
  - `source_notes` object[]

## Other responses

- `401`: Missing, malformed, or invalid API key
- `422`: Validation Error
- `429`: Monthly quota exceeded. Includes Retry-After header.

---

[API](https://skmtc.dev/legalize/apis/legalize-api.md) · [All operations](https://skmtc.dev/legalize/apis/legalize-api/llms.txt) · [OpenAPI document](https://skmtc.dev/legalize/apis/legalize-api/revisions/305b67a14660?raw)
