Prisma

List Events

List audit events with filtering and pagination.

GET
/api/v1/audit/events

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

page?Page
Default1
Range1 <= value
page_size?Page Size
Default25
Range1 <= value <= 200
workspace_id?string|null
category?string|null
severity?string|null
status?string|null
search?|null
since?|null
until?|null
from_date?|null
to_date?|null

Response Body

application/json

application/json

curl -X get "http://localhost:8000/api/v1/audit/events"
{
  "events": [
    {
      "event_id": "string",
      "organization_id": "string",
      "occurred_at": "2019-08-24T14:15:22Z",
      "event_name": "string",
      "event_type": "string",
      "event_category": "string",
      "actor_id": "string",
      "actor_name": "string",
      "actor_email": "string",
      "actor_type": "string",
      "resource_type": "string",
      "resource_id": "string",
      "resource_name": "string",
      "status": "string",
      "severity": "string",
      "details": {},
      "source": "platform",
      "source_service": "string",
      "ip_address": "string",
      "user_agent": "string"
    }
  ],
  "page": 0,
  "page_size": 0,
  "total": 0,
  "has_next": false,
  "total_approximate": false
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}