Skip to content
SoulFire LogoSoulFire

Get audit log

GET
/v1/instances/{id}/audit-log

Retrieves the audit log for an instance. Returns a list of recorded actions ordered by timestamp (newest first).

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

id*string

The unique identifier (UUID) of the instance.

Formatuuid

Response Body

Response containing the audit log entries for an instance.

application/json
  1. response

Response containing the audit log entries for an instance.

entry*array<>

List of audit log entries, ordered by timestamp descending (newest first).

Example Request
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?