POST
/
api
/
v1
/
client_matters
Add Client Matters
curl --request POST \
  --url https://api.harvey.ai/api/v1/client_matters \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_matters": [
    {
      "cm_name": "123-45",
      "cm_desc": "Acme Corp Bankruptcy",
      "cm_allowed": "true"
    }
  ]
}'
{
  "success_count": 1,
  "failed": []
}

Authorizations

Authorization
string
header
required

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

Body

application/json
client_matters
object[]
required
Maximum length: 10000

Response

The number of successfully added client matters and the number of failures.

success_count
integer

The total amount of client matters that successfully uploaded.

Example:

1

failed
string[]

A list of cm_names that failed to upload. If all uploads were successful, you will receive an empty array.

Example:
[]