# Audit log API

This group covers the organization's audit log: listing its entries and exporting them as JSON lines. Every call sends a bearer token: a personal access token, an integration app's secret, or an OAuth access token issued with the `Volobox` scope. Paths, tokens and conventions are in [API overview](/docs/api-overview).

## Audit log

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| GET | `/api/v1/audit-log` | `audit.auditLog.getList` | Lists the organization's audit log entries, filtered and one page at a time. |
| GET | `/api/v1/audit-log/export/jsonl` | `audit.auditLog.exportJsonl` | Exports a page of the organization's audit log as JSON lines, with the next page's cursor in the X-Volobox-Next-Cursor header. |

## Example

`audit.auditLog.getList`: lists the organization's audit log entries, filtered and one page at a time.

```bash title="curl"
curl -s "https://volobox.example.com/api/v1/audit-log?SkipCount=0&MaxResultCount=20" \
  -H "Authorization: Bearer $VOLOBOX_TOKEN"
```

`SkipCount` is how many items to skip and `MaxResultCount` how many to return. The answer carries `totalCount` and the page of `items`.
