Query across metadata fields in a corpus
POST/v2/corpora/:corpus_key/metadata_query
Query for documents in a specific corpus using fuzzy matching across specified metadata fields. The search first applies any exact metadata filters to narrow the results, then performs fuzzy matching on the remaining documents using the specified field queries.
Request
Responses
- 200
- 400
- 403
- 404
List of matching documents with relevance scores and field-level match details.
Metadata query request was malformed.
Permissions do not allow querying metadata in the corpus.
Corpus not found.