Get Case Viewer
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.
Request
- Base URL: https://api.casenode.ai
- URL: https://api.casenode.ai/authorities/{authority_id}/viewer
- Auth: none declared
Path parameters
Query parameters
Pinpoint paragraph to scroll to (e.g. 45, para 12)
Body-paragraph page size. Omit to return every paragraph in document.paragraphs (default). Set with offset to page.
Alias for paragraph_offset.
Alias for paragraph_limit.
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).
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.