Skip to content
dimmiDocs

Reports and data

Get an audit log entry

GET/api/v1/audit-logs/{audit_log}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:read ability

Path parameters

audit_logstringrequired

Id of the audit log entry, starting with aud_, such as aud_01jx2m8k4t. Find it with GET /audit-logs.

Response 200

OK
dataobjectrequired
Show child attributes
actorobjectrequired
Show child attributes
idstring | nullrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

labelstringrequired

The actor's name as it was when the entry was written, so it still reads right after a member or token is gone.

typestringrequired

The kind of actor: member for a person, system for work dimmi did on its own.

viaobjectrequired
Show child attributes
idstring | nullrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

The kind of credential the actor used: session, app, personal_token, oauth_client or cli.

changesanyrequired

What changed, as a JSON object. An empty object when the event carries no details.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

eventstringrequired

The name of what happened.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

ipstring | nullrequired

The IP address the change came from. Null when not known, as for work the system did.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

request_idstring | nullrequired

Id of the API request that made the change, for matching against logs. Null when there was none.

subjectobjectrequired
Show child attributes
idstring | nullrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

labelstring | nullrequired

The subject's name as it was when the entry was written. Null when it has none.

typestringrequired

The kind of thing the change was about, such as member, team, invitation or token.

user_agentstring | nullrequired

The browser or client that made the change. Null when not known.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.