GET /v1/audit_log

List audit log entries

Returns a paginated list of audit log entries for the active reseller store.

Returns a paginated, filterable list of audit log entries scoped to the active reseller store. Supports cursor-based pagination and filtering by action, resource type, and resource ID.

Results are ordered by createdAt descending (newest first).

Query parameters

action string OPTIONAL

Filter by action type

resource_type string OPTIONAL

Filter by resource type

resource_id string OPTIONAL

Filter by resource ID

starting_after string OPTIONAL

Cursor for pagination — ID of last item from previous page

limit number OPTIONAL
min: 1max: 100

Responses

200

Request

curl https://api.example.com/v1/audit_log \
  -H "Authorization: Bearer sk_test_..."

Response

200 200 OK
{
  "object": "example_object",
  "data": [
    {
      "id": "example_id",
      "resellerStoreId": "example_resellerStoreId",
      "action": "example_action",
      "resourceType": "example_resourceType",
      "resourceId": "example_resourceId",
      "metadata": {},
      "actorId": "example_actorId",
      "createdAt": "example_createdAt"
    }
  ],
  "has_more": true,
  "url": "example_url",
  "request_id": "example_request_id"
}