Skip to content

Audit log (admin)​

GET
/api/v1/audit

The list starts with the newest entry and contains at most 1000 entries. The default range is the last 30 days.

Authorizations​

session
Type
API Key (cookie: pvmon_session)
or
token

API token pvm_<id>_<secret>.

Type
HTTP (bearer)

Parameters​

Query Parameters

from
Type
string
Format
"date"
to

The range includes this day.

Type
string
Format
"date"

Responses​

The entries.

application/json
JSON
{
  
"entries": [
  
  
{
  
  
  
"id": 0,
  
  
  
"at": "2024-01-01T00:00:00Z",
  
  
  
"actor": "string",
  
  
  
"action": "string",
  
  
  
"detail": {
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
}
  
]
}

Samples​

Version 0.4.0-66c93c2. MIT license.