What is recorded
A change to any of the following is one entry: screens, screen folders, playlists, media files and folders, applications, cards, schedules and levels, campaigns, notifications, webhooks, triggers, sources, fleet links, report schedules, alert mutes, members and roles, invitations, service clients, agent connections, group bindings, and project settings. Screen commands (reboot, reload, identify, clear cache, restart app, update, toast, screenshot) and fleet actions are also recorded along with their parameters.
Each entry includes:
| Field | Description |
|---|---|
at | Timestamp when the change was committed (UTC) |
actor | Who performed the action: kind (person, agent, service_client, staff, or system), plus id and name |
approved_by, review_id | For agent-proposed changes, the person who approved the change and the review ID |
source | Surface where the change originated: dashboard, api, cli, mcp, staff, device, webhook, or system |
action | Stable resource.verb action code, such as screen.update, playlist.create, or webhook.rotate_secret |
resource | The affected resource's type, id, and updated name |
changes | List of changed fields: path (JSON Pointer such as /label), before, and after |
revision | Reference to the revision produced by the change (a playlist revision, media version, or resource revision number) instead of duplicating the full payload |
request_id, route, client, client_ip | Request metadata for the operation |
seq, prev_hash, hash | The entry's sequence number and cryptographic chain links |
Values, redaction, and size limits:
- Standard fields such as names, emails, addresses, URLs, and IDs are recorded as stored.
- Secrets—including tokens, API keys, passwords, webhook or signing secrets, data source credentials, pairing codes, and receiver URLs that act as credentials—appear as
(redacted)for bothbeforeandafter, so secret rotations are logged without exposing either value. - Values larger than 1 KiB are replaced with their byte size and SHA-256 hash. Each entry stores up to 100 changed fields and 16 KiB total;
truncatedindicates when additional changes were omitted. - A playlist's pages and a media file's bytes are not copied; entries link to the corresponding revision instead.
Card data, key/value entries (including writes from webhooks and data sources), and Player telemetry are runtime data rather than configuration. They are not written to the audit log; the project event log records those writes instead.
Search
GET /api/audit returns entries newest first:
screenrig audit list --resource-type screen --resource-id scr_ID
screenrig audit list --actor-kind agent --since 2026-10-01T00:00:00Z
screenrig audit list --action 'playlist.*' --source mcp --limit 20
screenrig audit list --field /label
screenrig audit show aud_ID
| Filter | Description |
|---|---|
actor | ID of the person, agent, or service client |
actor_kind | person, agent, service_client, staff, or system |
source | dashboard, api, cli, mcp, staff, device, webhook, or system |
resource_type, resource_id | Type and ID of the modified resource |
action | Exact action code, or a prefix ending with * |
field | JSON Pointer matching entries that modified that field or any nested field beneath it |
since, until | Start and end of the time window |
cursor, limit | Pagination controls: pass next_cursor as cursor; 1 to 200 entries per page |
In the CLI, audit list accepts each filter as a flag (--actor, --actor-kind, --source, --resource-type, --resource-id, --action, --field, --since, --until) and paginates with --limit (default 50) and --after (using the previous next_cursor).
In the dashboard, open Logs → Audit to browse entries with the same filters and view before-and-after diffs for each change.
Who can read it
Project owners and organization administrators can read a project's audit log in the dashboard. Agents and service clients with the project capability can read it through the API and CLI.
Organization-level changes are recorded in a separate organization audit log rather than in any project log. This includes changes to administrators, member invitations, domains, guest policy, the Library, billing settings, single sign-on and SCIM settings, and identity-provider user or group provisioning. Organization administrators can view it on the organization's Audit page in the dashboard or via GET /api/organizations/{org_id}/audit, which supports the same listing and export options as the project audit log.
Tamper resistance
Nothing writes, edits, or deletes an audit entry: there is no route for it. Each entry is linked to the preceding entry in its project by a SHA-256 hash computed over the previous entry's hash, its sequence position, and its content. Within roughly 15 seconds of a change, the entry carries its seq and hash.
screenrig audit head
screenrig audit verify
screenrig audit verify --anchor 128:3f2c0b6e9a4d81c7f5e0a2b4c6d8e0f1a3b5c7d9e1f30415263748596a7b8c9d
audit verify (GET /api/audit/verify) recomputes every hash from stored content and checks each link, seq continuity, and the chain head. If verification fails, it reports hash_mismatch, prev_mismatch, gap, head_mismatch, anchor_mismatch, or floor_mismatch for the failing entry and exits with code 13.
Each call verifies up to 5,000 entries (use --limit for smaller batches) and returns next_seq so you can continue with --from-seq. Pass --anchor SEQ:HASH using a chain head saved from an earlier export or audit head to prove that history up to that entry has neither changed nor been truncated.
Retention and deletion
Audit entries are retained for 400 days on every plan. Expired entries are pruned oldest first, and the chain records the new starting point (floor_seq and floor_hash) so any deletion elsewhere in the chain is still detected.
Deleting a project deletes its audit log as well. To retain a verifiable copy beyond a project's lifetime, run screenrig project export DIR, which writes the log to log/audit.jsonl and its chain head to log/audit-head.json, so the copy still verifies against its anchor.
Export
screenrig audit export --format csv --output audit.csv
screenrig audit export --format xlsx --since 2026-07-01T00:00:00Z --until 2026-10-01T00:00:00Z
screenrig audit export --format pdf --resource-type playlist --output playlist-changes.pdf
GET /api/audit?format=csv|xlsx|pdf exports the filtered audit log using the standard report renderer: one row per changed field, oldest first, covering the last 30 days unless since specifies otherwise, up to 50,000 rows (truncated indicates when additional rows were omitted). Each export includes the chain head and retention floor so any saved export can serve as an anchor for a later audit verify.
In the dashboard, the Audit tab provides CSV, Excel, and PDF buttons that export the currently filtered view.