GET
/
audit
curl --request GET \
  --url https://cloud.local.wirtual.dev/api/v2/audit \
  --header 'Wirtual-Session-Token: <api-key>'
{
  "audit_logs": [
    {
      "action": "create",
      "additional_fields": [
        123
      ],
      "description": "<string>",
      "diff": {},
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ip": "<string>",
      "is_deleted": true,
      "organization": {
        "display_name": "<string>",
        "icon": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource_icon": "<string>",
      "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource_link": "<string>",
      "resource_target": "<string>",
      "resource_type": "template",
      "status_code": 123,
      "time": "2023-11-07T05:31:56Z",
      "user": {
        "avatar_url": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "email": "jsmith@example.com",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "last_seen_at": "2023-11-07T05:31:56Z",
        "login_type": "",
        "name": "<string>",
        "organization_ids": [
          "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        ],
        "roles": [
          {
            "display_name": "<string>",
            "name": "<string>",
            "organization_id": "<string>"
          }
        ],
        "status": "<any>",
        "theme_preference": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "username": "<string>"
      },
      "user_agent": "<string>"
    }
  ],
  "count": 123
}

Authorizations

Wirtual-Session-Token
string
header
required

Query Parameters

q
string

Search query

limit
integer
required

Page limit

offset
integer

Page offset

Response

200 - application/json
OK
audit_logs
object[]
count
integer