authorities

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.

get/authorities/{authority_id}/viewer

Request

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

Path parameters

authority_idstring required

Query parameters

paragraph_refstring nullable

Pinpoint paragraph to scroll to (e.g. 45, para 12)

paragraph_offsetinteger
paragraph_limitinteger nullable

Body-paragraph page size. Omit to return every paragraph in document.paragraphs (default). Set with offset to page.

offsetinteger nullable

Alias for paragraph_offset.

limitinteger nullable

Alias for paragraph_limit.

include_flat_paragraphsboolean

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_limitinteger
cited_by_limitinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.