The audit log as CSV (the newest 5000 entries of the filter)
The same filter as `listAuditEvents`, one line per entry with the columns id, create_time, tenant_id, account_id, actor_type, actor_id, actor_email, action, target_type, target_id, summary, detail (JSON), before_hash, after_hash, source_ip, request_id. A cell that starts with `=`, `+`, `-` or `@` gets a leading `'`, so a spreadsheet does not run it. An export that cannot read every service fails with `503 audit.unavailable` rather than leave entries out. Needs `audit:read`.
Loading the operation...
Upload up to 20 small files in one multipart/form-data request POST
Files are streamed through the gateway into storage (at most 25 MiB each, 100 MiB per request); use an upload session for larger files. An optional first part `metadata` picks each file's purpose: `{"files": {"logo.png": {"purpose": "invoice_logo"}}}` (default `general`). The answer is `200` with one result per file, in order: a bad file is `rejected` with an `error_code` and does not fail the others. The `write` rate limit is charged per file.
The audit log of the tenant, newest first GET
Who did what and when, for the actions that change money or access: API keys created, rotated and revoked; members invited, changed and removed; plan versions published; webhook endpoints created, changed, deleted and their secrets rolled; customers blocked and unblocked; credit notes and refunds; the operator's invoice actions; payment provider accounts connected, replaced, removed and made the default; the tenant's status and settings. Each entry has the actor (a person, an API key, the operator or the system), the target, a one-line summary with no secret in it, a small `detail` object, the address and the request id. The log is append-only: the database refuses any change to an entry. It is read from several services and merged; when one does not answer, `incomplete` is true and `unavailable_sources` names it. Needs the permission `audit:read` (an admin key has it; the `read_only` role does not). A person who is a viewer of the account may not read it.