Cases

Case RAG query (E2)

Q&A over the case's indexed documents with deterministic citation verification. Jurisdiction is INHERITED from the case (NOT a parameter). Loopback to the internal route, which is the only one that debits (1 cr; zero double charge). On a purged case: an honest empty response (Zero Retention).

post/api/v1/cases/{caseId}/query

Request

  • Base URL: https://legal.nexusquantum.legal
  • URL: https://legal.nexusquantum.legal/api/v1/cases/{caseId}/query
  • Auth: HTTP bearer

Path parameters

caseIdstring uuid required

Request body

questionstring required

Legal question about the case.

language'es' | 'en' | 'fr' | 'de'
docTypesstring[]

Optional filter by document type.

excludePrivilegedboolean
topKinteger
thresholdnumber

Response

{ answer, citations[], chunksRetrieved, citationChecks?, processingMs, requestId }

answerstring
citationsobject[]
chunksRetrievedinteger

Changes

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