Skip to main content
POST
/
api
/
v1
/
vault
/
create_project
Create a new Vault project
curl --request POST \
  --url https://api.harvey.ai/api/v1/vault/create_project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=Example Legal Documents Project' \
  --form is_knowledge_base_project=true \
  --form client_matter_id=11111111-2222-3333-4444-555555555555
{
  "project_id": "proj_1234567890abcdef",
  "name": "My Legal Documents",
  "description": "Project for storing legal case documents",
  "created_at": "2024-01-15T10:30:00Z",
  "settings": {
    "max_file_size": 104857600,
    "max_files": 1000,
    "allowed_file_types": [
      "pdf",
      "docx",
      "xlsx",
      "pptx",
      "txt",
      "rtf",
      "csv",
      "eml"
    ]
  },
  "status": "active"
}

Documentation Index

Fetch the complete documentation index at: https://developers.harvey.ai/llms.txt

Use this file to discover all available pages before exploring further.

Permissions

Requires Vault API and Modify workspace projects permissions.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
name
string
required

The name of the new project

Example:

"Example Legal Documents Project"

is_knowledge_base_project
boolean

Flag indicating whether this project is a knowledge base

Example:

true

client_matter_id
string<uuid>

When set, associates the new project with this client matter. Use the client matter UUID (from Client Matters API responses), not the human-readable matter number.

Example:

"11111111-2222-3333-4444-555555555555"

Response

Project successfully created

project_id
string

The unique identifier of the created project.

Example:

"proj_1234567890abcdef"

name
string

The name of the created project.

Example:

"My Legal Documents"

description
string

The description of the project.

Example:

"Project for storing legal case documents"

created_at
string<date-time>

Timestamp when the project was created.

Example:

"2024-01-15T10:30:00Z"

settings
object
status
string

The status of the project.

Example:

"active"