Citation Integrity

Audit a draft for fabricated / invalid citations

Parses all Swiss-case citations (BGE/BGer/BVGer/BStGer/BPatGer/MKGE/ATF/TF/TAF/TPF/TFB/ATMC/STMC) in a draft response, verifies each decision exists in the corpus, and verifies any pinpoint (E./consid.) actually exists in that decision's structured Erwägungen. Returns {ok, citations_found, citations_ok, issues_count, annotated_text, issues}. CALL THIS before finalizing any LLM response containing ≥1 case citation.

post/attest

Request

  • Base URL: https://mcp.opencaselaw.ch/api
  • URL: https://mcp.opencaselaw.ch/api/attest
  • Auth: none declared

Request body

redacted_textstring nullable
draft_textstring nullable
audit_groundingboolean
audit_quotesboolean
client_redactor_versionstring nullable
client_redactor_summaryobject nullable

Response

Successful Response

unknown required

Changes

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