---
title: "Get Case Viewer"
method: GET
path: "/authorities/{authority_id}/viewer"
tags: ["authorities"]
---

# Get Case Viewer

`GET /authorities/{authority_id}/viewer`

## Request

- Base URL: `https://api.casenode.ai`
- URL: `https://api.casenode.ai/authorities/{authority_id}/viewer`
- Auth: none declared

Single payload for the case viewer — metadata, document body, cites, cited-by.

Replaces the fan-out of GET /authorities/{id} + /cites + /cited-by + /elements
for rendering a judgment. Powers the MCP case-viewer app and the web viewer.
``document.tree`` is the full semantic document tree (see /document); the
paginated ``document.paragraphs`` is a flat projection of it for the MCP app.

## Path parameters

- `authority_id` string, required

## Query parameters

- `paragraph_ref` string, nullable: Pinpoint paragraph to scroll to (e.g. 45, para 12)
- `paragraph_offset` integer
- `paragraph_limit` integer, nullable: Body-paragraph page size. Omit to return every paragraph in ``document.paragraphs`` (default). Set with ``offset`` to page.
- `offset` integer, nullable: Alias for ``paragraph_offset``.
- `limit` integer, nullable: Alias for ``paragraph_limit``.
- `include_flat_paragraphs` boolean: Include the flat ``document.paragraphs`` projection. The web viewer reads ``document.tree`` only; set false to skip serialising the duplicate body (~40%% of the payload).
- `cites_limit` integer
- `cited_by_limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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