Get audit log
GET
Retrieves the audit log for an instance. Returns a list of recorded actions ordered by timestamp (newest first).
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the instance.
Format
uuidResponse containing the audit log entries for an instance.
application/json- response
Response containing the audit log entries for an instance.
entry*array<>List of audit log entries, ordered by timestamp descending (newest first).
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/audit-log'Example Response
{
"entry": [
{
"id": "string",
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"username": "string",
"email": "user@example.com"
},
"type": "EXECUTE_COMMAND",
"timestamp": "2019-08-24T14:15:22Z",
"data": "string"
}
]
}Was this page helpful?
