BillKit/Docs Console
Audit logs

List audit logs

List the record of who changed what in your account, newest first.

GET/v1/audit_logs
Operation list_audit_logs · Scope audit_logs:read · Spec snapshot 2026-09-13

Parameters

ParameterDescription
actionstring | null · queryoptionalAt most 64 characters.
resource_typestring | null · queryoptionalAt most 32 characters.
resource_idstring | null · queryoptionalAt most 64 characters.
actor_idstring | null · queryoptionalAt most 64 characters.
limitinteger · queryoptionalDefaults to 10. Between 1 and 100.
starting_afterstring | null · queryoptionalAt most 128 characters.

Cursor-paginated. limit caps a page and starting_after takes the last id you saw.

Returns

Returns a page of AuditLogResponse objects. data holds the page and has_more says whether another one exists. Page forward by passing the last id of the page as starting_after; a short page is not the end of the list.

Errors

Status Cause
401 Missing or invalid API key.
403 Key is missing the audit_logs:read scope.
422 Validation Error
429 Rate limited. Back off and retry.
Request · curl
curl -X GET https://api.billkit.eu/v1/audit_logs \
  -H "Authorization: Bearer $BILLKIT_SECRET_KEY"
Response · 200 OK
{
  "data": [
    {
      "action": "string",
      "actor_id": "actor_9XKp2vQ1",
      "actor_type": "string",
      "created": 1789392000,
      "id": "4b2a1e90-7c3d-4f18-9a55-1c0b6de3a742",
      "ip_address": "string",
      "livemode": false,
      "metadata": {
        "key": "value"
      },
      "object": "audit_log",
      "resource_id": "resource_9XKp2vQ1",
      "resource_type": "string",
      "user_agent": "string"
    }
  ],
  "has_more": false,
  "object": "list"
}