Skip to main content
POST
/
api
/
v1
/
audit-logs
Query audit logs
curl --request POST \
  --url https://api.example.com/api/v1/audit-logs \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "data": [
    {}
  ]
}

Body

application/json
query
string
required

The query string to filter audit logs.

Response

A successful response containing a list of audit log entries that match the provided query.

A successful response containing a list of audit log entries that match the provided query.

data
object[]
required

An array of audit log records matching the query.