Skip to main content
GET
/
v1
/
audit-events
List Audit Events
curl --request GET \
  --url https://api.oneinbox.ai/v1/audit-events \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "api_key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "action": "<string>",
      "resource_type": "<string>",
      "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "request_id": "<string>",
      "ip": "<string>",
      "user_agent": "<string>",
      "payload_hash": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>",
  "has_more": true,
  "limit": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

action
string | null

Filter by action enum value

resource_type
string | null
limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string | null

Response

Successful Response

items
AuditEventResponse · object[]
required
next_cursor
string | null
required
has_more
boolean
required
limit
integer
required