POST
/
api
/
v1
/
vault
/
upload_files
/
{project_id}
curl --request POST \
  --url https://api.harvey.ai/api/v1/vault/upload_files/{project_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form files=@/path/to/hello_world.pdf \
  --form file_path=/caselaw/usa/california/sf/hello_world.pdf \
  --form duplicate_mode=skip
{
  "project_id": "<string>",
  "file_ids": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

The project ID.

Body

multipart/form-data

Response

201
application/json

Files successfully uploaded

The response is of type object.