Skip to main content
GET
Search cases and files
Perform a comprehensive search across all cases and files accessible to you. This endpoint allows you to find matching case labels and file names, providing a unified search experience for your document workflows.

Features

  • Prefix Matching: Search results include partial matches (e.g., “pol” matches “policy”).
  • Unified Results: Matches against both case labels and file names.
  • Flat Output: Returns a flat list of files with their parent case context for easy display.

Best Practices

  1. Debounce UI Searches: If implementing search-as-you-type in your frontend, debounce requests (e.g., 300ms) to avoid hitting rate limits.
  2. Specific Queries: More specific search terms yield more relevant results and improve performance.
  3. Pagination: Use limit and offset for large result sets to maintain responsive UI performance.

Authorizations

x-api-key
string
header
required

Query Parameters

query
string
required
Required string length: 1 - 100
limit
integer
default:50

Maximum number of results to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of results to skip for pagination

Required range: 0 <= x <= 9007199254740991

Response

Search results retrieved successfully

results
object[]
required
total
number
required