Server and monitoring

Audit

Audit log access

Fetch audit log Actions

GET
https://demo.traccar.org/api/audit

Admin only. Returns Actions performed in the given time window.

Parameters

fromstring<date-time>requiredquery

in ISO 8601 format. eg. 1963-11-22T18:30:00Z

tostring<date-time>requiredquery

in ISO 8601 format. eg. 1963-11-22T18:30:00Z

Response

OK

Response fields application/json
Show child attributes
idinteger<int64>

Unique action identifier

actionTimestring<date-time>

When the action was recorded

addressstring

Client address that initiated the action

userIdinteger<int64>

Identifier of the User who performed the action

userEmailstring

Email of the User who performed the action

actionTypestring

Action category (e.g. login, edit, link)

objectTypestring

Type of object affected by the action

objectIdinteger<int64>

Identifier of the affected object

attributesobject

Additional action attributes

401Unauthorized

Unauthorized

Authorization

BasicAuthhttp (basic)
ApiKeyhttp (bearer)