Skip to main content

Get Events List

GET /v1/event

Retrieves a paginated list of events for the authenticated tenant. Each item summarizes who performed an action, where it originated, when it occurred, the outcome, and a small slice of contextual data.

Query Parameters

  • ~filter[data._id] - Parameter for ~filter[data._id]
  • ~filter[source] - Parameter for ~filter[source]

Request Example

GET /v1/event

Response Example

{
"data": [
{
"tenant": { "id": "tenant-id-1", "name": "Example Tenant" },
"user": { "id": "user-id-1", "username": "user@example.com", "role": "provider.admin", "type": "api" },
"id": "event-id-1",
"source": "product",
"action": "distributor_delete",
"time": "2025-10-21T16:01:04.900Z",
"status": "failed",
"message": "Distributor was not deleted",
"data": { "statusCode": 404, "message": "Not found" }
},
{
"tenant": { "id": "tenant-id-2", "name": "Example Customer" },
"user": { "username": "contact@example.com", "role": "consumer.admin", "type": "session" },
"id": "event-id-2",
"source": "order",
"action": "create",
"time": "2025-09-25T10:20:43.887Z",
"status": "success",
"message": "Order created",
"data": {
"order": { "id": "order-id-1", "state": "open", "number": "00000001" },
"items": [
{ "sku": "SKU-10000", "name": "Example Product", "amount": 2, "price": { "total": 62.4, "mrr": 62.4 } }
],
"price": { "total": 62.4, "currency": "NOK" }
}
},
{
"tenant": { "id": "tenant-id-1", "name": "Example Tenant" },
"user": { "username": "admin@example.com", "role": "provider.admin", "type": "session" },
"id": "event-id-3",
"source": "Authentication",
"action": "Login",
"time": "2025-09-25T10:18:51.277Z",
"status": "success",
"message": "User logged in"
}
],
"pagination": { "total": 207, "skip": 0, "limit": 50 }
}