Request an invite
Docs menu

osmates audit show

Show the trail, or a machine's records, oldest first, or newest first with --newest-first.

Usage
osmates audit show [<options>] [<machine>]

--newest-first reads the trail from its end back, which takes no machine or session. --json prints the trail's own lines as stored, one record a line.

Arguments

<machine>

A machine's name or identifier, also once it is deleted.

--session <session>

Only the records of this session: <pid>@<start> from a record's by, shortcuts for the app's Shortcuts actions, or login for Start at Login.

--since <since>

Only the records from this time on, such as 2026-10-28 or 2026-10-28T07:03:12Z.

--newest-first

Show the newest records first.

--limit <limit>

Show at most this many records.

--json

Print machine-readable JSON.

JSON output

With --json, it prints one object per line, with these fields.

JSON Schema: /schemas/0/cli/audit/show.json

byobject
by.clientstring
by.clientKindstring
by.fingerprintstring
by.kindstringRequired

One of app, cli, window, osmatesd, agent, guest, remote, device.

by.organizationstring
by.sessionstring
detailobjectRequired
hashstringRequired
jobstring
machineobject
machine.idstring (uuid)
machine.namestring
opstring
outcomeobject
outcome.errorstring
outcome.operationstring
outcome.questionstring
outcome.reasonstring
outcome.resultstringRequired

One of ok, refused, asked, failed, cancelled.

outcome.textstring
prevstringRequired
refinteger

At least 0.

seqintegerRequired

At least 0.

timestringRequired
toolobject
tool.callstringRequired
tool.namestringRequired
typestringRequired

One of file, session, call, result, job, event, gap, prune.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page