---
title: "Get Citation Facets"
method: GET
path: "/authorities/{authority_id}/citation-facets"
tags: ["authorities"]
---

# Get Citation Facets

`GET /authorities/{authority_id}/citation-facets`

## Request

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

Courts represented in a citation list, for filtering a long one.

Its own route rather than part of ``/viewer`` because grouping by court is
the expensive query: ~0.4s on a 1,579-citer authority and ~1.9s on the worst
case in the corpus, against ~0.2s for the plain count. The case reader loads
it only when someone opens a section that runs past one page.

## Path parameters

- `authority_id` string, required

## Query parameters

- `direction` 'cites' | 'cited_by': 'cited_by' or 'cites'
- `kind` 'case_law' | 'statute', nullable: Narrow 'cites' to case law or statutes

## 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)
