---
title: "Preview"
method: GET
path: "/v1/preview/{abbrev}/{ref}"
---

# Preview

`GET /v1/preview/{abbrev}/{ref}`

## Request

- Base URL: `https://recht.nulegal.eu` (the document declares no server; this is the origin it was published from)
- URL: `https://recht.nulegal.eu/v1/preview/{abbrev}/{ref}`
- Auth: none declared

The hover card of a citation: the norm's head and the first 300 characters.

**`abs`, `satz`, `nr`, `lit`** (optional, cite-anchor 03.10.2026): the cited
Absatz, Satz, Nummer and Buchstabe (`§ 309 Nr. 7 Buchst. a BGB` is `nr=7&lit=a`).
With any of them, `text` opens at the cited Absatz and `mark` is `[start, end]` of
the cited Satz, Nummer or Buchstabe inside `text`; `found` lists the units that
were found in the stored text (a unit that is not found is not guessed). Without
them the answer is exactly what it has always been, and carries neither field.

**`asof`** (optional, YYYY-MM-DD): the version in force on that day, as
`/v1/norm?asof=` picks it; `version.valid_from` and `version.valid_to` are its
dates and `asof` echoes the day. No version held for that day is a 404 that says
when the archive starts, never today's text in its place. Without `asof` the
answer is unchanged and carries no `asof` field.

## Path parameters

- `abbrev` string, required
- `ref` string, required

## Query parameters

- `abs` string, nullable
- `satz` string, nullable
- `nr` string, nullable
- `lit` string, nullable
- `asof` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nulegal/apis/nu-legal-deutsches-recht-api.md) · [All operations](https://skmtc.dev/nulegal/apis/nu-legal-deutsches-recht-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nulegal/apis/nu-legal-deutsches-recht-api/revisions/b4695d8006b1?raw)
