Skip to main content
GET
/
api
/
v1
/
logs
/
audit
/
search
Search Audit Logs
curl --request GET \
  --url https://api.harvey.ai/api/v1/logs/audit/search/ \
  --header 'Authorization: Bearer <token>'
{
  "log": {
    "data": {
      "ip": "0.0.0.0",
      "len_added_client_matters": 1,
      "site": "us",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
    },
    "id": "0194f5c5-2021-75ae-b202-f049fca9dce2",
    "ip": "0.0.0.0",
    "timestamp": "2025-02-11T16:08:44.324452",
    "type": "admin:add_client_matters",
    "user": "user@example.com",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
  }
}

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 Territory admin or Organization admin permission.

Authorizations

Authorization
string
header
required

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

Query Parameters

time
integer<timestamp>
required

UTC epoch timestamp, up to 1 year old from now

log_type
string

Optional filter to return only logs of a specific type. For Microsoft add-in activity, use add-in-specific log types such as user:word_add_in_docx_drafting or user:outlook_add_in_ask. See the Audit Logs Guide for a complete list of log types.

Example:

"auth:login"

Response

Audit log entry at or after time

log
object
required