VirtuousAI
ReferenceEvents

List Events

List events for the tenant with optional filters. Events are returned in reverse chronological order (most recent first).

GET
/api/v1/events

Query Parameters

event_type?|
resource_type?|
resource_id?|
from?|
to?|
limit?integer
Default100
Range1 <= value <= 100
offset?integer
Default0
Range0 <= value

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/events"
{
  "events": [
    {
      "actorId": "string",
      "actorType": "user",
      "causationId": "string",
      "correlationId": "string",
      "eventType": "schedule.fired",
      "id": "string",
      "occurredAt": "2019-08-24T14:15:22Z",
      "payload": {},
      "resourceId": "string",
      "resourceType": "action_run",
      "tenantId": "string"
    }
  ],
  "hasNext": true,
  "limit": 0,
  "offset": 0,
  "total": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}