Search files by meaning
Finds the files that match your query and returns their content, best match first. Each result cites the file it came from. It also matches on meaning, which finds files that answer the query without using the same words. A result appears only if this API key can read the file. A new or changed file is not searchable straight away, so search again in a moment if you do not see it.
Authorizations
Workspace-scoped API key, sent as a bearer token. The recommended header. The workspace is implicit in the key and never appears in a URL.
Body
What you are looking for. A few words or a whole question both work.
"What is the refund policy?"
Maximum results to return. Defaults to 10.
1 <= x <= 500Cite the file each result came from. Defaults to true.
Response
Matching files from the live files, best match first. One page; there is no next.
Type discriminator. Always list.
list The search this page came from.
"/v1/search/hybrid"
Always false. A search answers the best matches in one page and has no next page.
false
Always null. A search has no position to resume from, so there is no cursor to pass back.
null
Matching files, best match first.