Performs semantic search over documents in a single vault project. Returns the most relevant text chunks for the given natural-language query. Intended for use by external systems (e.g. a customer’s own assistant or LLM) that need to retrieve relevant passages and then generate responses using their own models. Requires USE_VAULT_API and CREATE_VAULT_SHARES permissions, and vault sharing to be enabled. For permissioning needs, contact Harvey (e.g. support@harvey.ai or your Account Manager).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body for semantic search over a vault project. Returns relevant document chunks for the query; clients can pass these chunks to their own LLM. Access requires Vault API permission; contact Harvey for permissioning needs.
UUID of the vault project to search in
Natural language search query.
1When true, each chunk in the response includes a file_name field (display name of the source file, or null if the file was deleted after indexing). Omit or set to false for backward compatibility.