GET
/
events
curl --request GET \
  --url https://connect.withvayu.com/events \
  --header 'Authorization: Bearer <token>'
{
  "events": [
    {
      "name": "api_call",
      "timestamp": "2023-09-13T18:25:43.511Z",
      "customerAlias": "customer_12345",
      "ref": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
      "data": {
        "key1": "processing_duration",
        "key2": "api_url"
      },
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

startTime
string
required
endTime
string
required
eventName
string
Minimum length: 1
limit
number
default:10
Required range: x <= 1000
cursor
string

Response

200
application/json
response contains an array of events
events
object[]
required

An array of events matching the query criteria