# Harvey ## Docs - [Add Client Matters](https://developers.harvey.ai/api-reference/add/add-client-matters.md): Adds a list of client matters to Harvey. Each client matter includes a name and an optional description. - [Authentication](https://developers.harvey.ai/api-reference/authentication.md) - [Completion](https://developers.harvey.ai/api-reference/completion/completion.md): Harvey's Completion API provides access to Harvey's models via our orchestration engine, allowing users to ask complex, freeform questions and receive detailed legal-grade responses programmatically. It can also be used in conjunction with files attached to the request, Vaults, and Regional Knowledg… - [Delete Client Matters](https://developers.harvey.ai/api-reference/delete/delete-client-matters.md): Deletes a list of client matters from Harvey, preventing them from being associated with any future queries. If a client matter does not exist or is already deleted, it will be skipped. - [Query Audit Logs](https://developers.harvey.ai/api-reference/query/query-audit-logs.md): Paginates forward in time from a given audit log ID. It takes a log ID parameter to begin fetching from and a take parameter for the number of log entries to fetch. - [Rate Limits](https://developers.harvey.ai/api-reference/ratelimits.md) - [Get Client Matters](https://developers.harvey.ai/api-reference/retrieve/get-client-matters.md): Retrieves the full list of client matters in Harvey, including deleted ones, with usage statistics. - [Retrieve Earliest Audit Log](https://developers.harvey.ai/api-reference/retrieve/retrieve-earliest-audit-log.md): Returns the earliest audit log for the workspace. Useful to begin pagination to get more logs. - [Retrieve Latest Audit Log](https://developers.harvey.ai/api-reference/retrieve/retrieve-latest-audit-log.md): Returns the latest audit log for the workspace. Useful to begin pagination to get more logs. - [Search Audit Logs](https://developers.harvey.ai/api-reference/search/search-audit-logs.md): Takes a timestamp as a parameter and returns the audit log at or after the timestamp. Useful to begin pagination to get more logs. - [Create a new Vault project](https://developers.harvey.ai/api-reference/vault/create-a-new-vault-project.md): Creates a new project in the Vault system. The project can be designated as a knowledge base. - [Delete a file from a Vault project](https://developers.harvey.ai/api-reference/vault/delete-a-file-from-a-vault-project.md): Enables authorized organizations to remove an existing file from a Vault project. The endpoint verifies that the file exists and that the requesting user belongs to the file's workspace before proceeding with the deletion. In cases where deletion cannot be immediately completed (for example, if ther… - [Delete an entire vault project and all its contents](https://developers.harvey.ai/api-reference/vault/delete-an-entire-vault-project-and-all-its-contents.md) - [Get File Details](https://developers.harvey.ai/api-reference/vault/get-file-details.md): Retrieves details and processing status for one or more files by their IDs. A maximum of 1000 file IDs can be provided per request. This endpoint is useful for checking the processing status of recently uploaded files to determine when they are ready to query. Files that are not found or not accessi… - [Get Review Table Metadata](https://developers.harvey.ai/api-reference/vault/get-review-table-metadata.md): Fetches metadata for a single review table by its ID, including its title, creation timestamp, and the list of file IDs associated with it. - [Get Review Table Row Details](https://developers.harvey.ai/api-reference/vault/get-review-table-row-details.md): Enables authorized users to retrieve a row from a review table, given a review table ID and a file ID corresponding to the row. - [Get Vault Project Metadata](https://developers.harvey.ai/api-reference/vault/get-vault-project-metadata.md): Fetches metadata for a specified Vault project, including file details and storage limits. - [List Project Users](https://developers.harvey.ai/api-reference/vault/list-project-users.md): Lists all workspace users with current active access to a specified Vault project, along with their access levels. Includes effective user access (including inherited access), and the project owner is always included with `MANAGE` access. - [List Vault Projects and Knowledge Bases](https://developers.harvey.ai/api-reference/vault/list-vault-projects-and-knowledge-bases.md): Lists all Vault projects and knowledge bases in the current workspace with pagination support. This endpoint returns a paginated list of projects that the authenticated user has permission to view. - [Remove Project Users](https://developers.harvey.ai/api-reference/vault/remove-project-users.md): Removes direct workspace user shares for specified users (identified by email address) from a Vault project. Only direct `WORKSPACE_USER` shares are removed; inherited access via workspace, group, or space shares is not affected. Per-user validation failures (e.g. unknown email, inactive user, proje… - [Semantic search over a vault project](https://developers.harvey.ai/api-reference/vault/semantic-search-over-a-vault-project.md): 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… - [Update Project Users](https://developers.harvey.ai/api-reference/vault/update-project-users.md): Adds or updates workspace user shares on a Vault project. This endpoint uses an additive/partial-update model: users in the request are added or have their access level updated; users not in the request are left unchanged. The project owner cannot be included in the request. - [Upload Files to Project](https://developers.harvey.ai/api-reference/vault/upload-files-to-project.md): The Upload Files API endpoint enables organizations to both upload new files and update existing ones within Vault projects. A maximum of 50 files can be uploaded per API request. - [Assistant](https://developers.harvey.ai/guides/assistant.md): Transform legal workflows with powerful AI-powered reasoning - [Audit Log Example](https://developers.harvey.ai/guides/audit-logs-example.md) - [Audit Logs](https://developers.harvey.ai/guides/audit_logs.md): Query and retrieve audit logs for workspace activity monitoring - [Authentication](https://developers.harvey.ai/guides/authentication.md) - [Client Matters](https://developers.harvey.ai/guides/client_matters.md): Manage billing attribution and access control for legal work - [Harvey MCP](https://developers.harvey.ai/guides/harvey_mcp.md): connect AI assistants to Harvey's legal AI capabilities through MCP. - [Introduction](https://developers.harvey.ai/guides/introduction.md): Welcome to the Harvey API Guide. - [History Exports](https://developers.harvey.ai/guides/usage_history.md): Export usage and query history across your organization - [Vault](https://developers.harvey.ai/guides/vault.md): Automate secure document workflows with Vault - [Get Query History](https://developers.harvey.ai/history-export/queries/get-query-history.md): Fetches the query history and metadata for a specified time range, including sensitive information such as inputs to and outputs from the AI system. - [Get Query History (v2)](https://developers.harvey.ai/history-export/queries/get-query-history-v2.md): Fetches the query history and metadata for a specified time range, including sensitive information such as inputs to and outputs from the AI system. Returns enriched event data with product surface area, subsurface details, and additional metadata. - [Get Usage History](https://developers.harvey.ai/history-export/usage/get-usage-history.md): Fetches the usage history and metadata for a specified time range. Includes query events from your workspace users across Harvey product areas. The data includes basic metadata like user, timestamp and event kind. - [Get Usage History (v2)](https://developers.harvey.ai/history-export/usage/get-usage-history-v2.md): Fetches the usage history and metadata for a specified time range. Returns enriched event data with product surface area, subsurface details, and additional metadata across Harvey product areas. ## OpenAPI Specs - [client_matters_api](https://developers.harvey.ai/client_matters_api.json) - [vault_api](https://developers.harvey.ai/vault_api.json) - [v2_completion_api](https://developers.harvey.ai/v2_completion_api.json) - [v1_completion_api](https://developers.harvey.ai/v1_completion_api.json) - [history_export_api](https://developers.harvey.ai/history_export_api.json) - [audit_logs_api](https://developers.harvey.ai/audit_logs_api.json)