GET
/
api
/
v1
/
history
/
usage
curl --request GET \
  --url https://api.harvey.ai/api/v1/history/usage \
  --header 'Authorization: Bearer <token>'
[
  {
    "event_id": 103230489,
    "message_ID": "ab12a1ab-abcd-1a12-1234-1234ab123456",
    "Time": "2024-09-03T14:47:12.000Z",
    "User": "user@example.com",
    "Task": "Assist",
    "Client Matter #": 1234.56,
    "Source": "Files",
    "Number of documents": 5,
    "Feedback Comments": "Incomplete response",
    "Feedback Sentiment": "negative",
    "Link": "https://app.harvey.ai/assistant/assist/123456789"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

start_time
integer
required

UTC epoch timestamp, up to 1 year ago from now

end_time
integer
required

UTC epoch timestamp, up to 30 days from start_time

Response

200
application/json

Array of events with UsageHistory entries

The response is of type object[].