Search

Search Document Collection

POST
Search across all documents in a document collection using the document metadata and contents.

Request

This endpoint expects an object.
documentCollectionId
UUIDRequired
searchQuery
stringRequired
userEmail
stringRequired
The email of the user making the search request for permissions reduction.
structuredQueryFilters
list of objectsOptional
The structured query filters to apply to the search query.
searchOptions
objectOptional
metadataFilterExpression
stringOptional
Legacy metadata filter expression to apply to the search query. Use structuredQueryFilters instead.

Response

This endpoint returns an object
searchTermsUsed
list of strings
structuredFiltersApplied
list of objects
searchId
UUID
results
list of objects