Search the records or the documents of a case
POST/cases/:caseId/search
Embeds the query with the case's active embedding provider and searches the shared index in one call. kind=records searches a records dataset with the tier-1 settings; kind=documents searches case documents.
Request
Responses
- 200
- 400
- 404
- 409
- 502
- 503
Ok
Invalid kind, query, filters, or settings outside the limits
Case not found
Kind does not match the case, or the records case has no active embedding generation
Embedding provider, dimension check, or search index failed
Search is not configured or model credentials are not ready