# Search case evidence **POST /ai/cases/{caseId}/search** Runs a semantic search over the case evidence and returns the best matches (messages or conversation chunks) with score, snippet and, when asked, the surrounding messages, filtered by source, dates, participants, conversations, topics or relevance. On a case shared with opposing counsel, callers on the other side see only evidence released to them, and conversation chunks are left out. Requires commenter access or above to the case and an active plan (403 otherwise). ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) Id of the case ### Body: application/json (object) - **query** (string) - **filters** (object) - **granularity** (string) - **topK** (number) - **rerank** (boolean) - **expandContext** (object) ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)