GET
/
api
/
v1
/
logs
/
audit
curl --request GET \
  --url https://api.harvey.ai/api/v1/logs/audit \
  --header 'Authorization: Bearer <token>'
[
  {
    "event_id": 103231559,
    "id": "01912df3-844c-73c6-9d5c-f02a97e3465e",
    "ip": "12.345.67.8",
    "timestamp": "2024-08-07T17:47:07.098Z",
    "type": {
      "description": "Occurs whenever Workspace History is retrieved from the server.",
      "example": "admin:fetch_workspace_history"
    },
    "user": "user@example.com",
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

from
string
required

Audit log ID to begin fetching from.

take
integer
required

Number of audit log entries to fetch, max 1000

Response

200
application/json

List of audit log entries

The response is of type object[].