List Events
Authorization
API Key Authenticate using API Key in request header
In: header
Query Parameters
501 <= value <= 1001 <= itemsArray with call IDs to filter events by. Formatted as a CSV array.
1 <= itemsArray with event names to filter events by. Formatted as a CSV array.
1 <= itemsArray with function IDs to filter events by. Formatted as a CSV array.
1 <= itemsArray with function names to filter events by. Formatted as a CSV array.
1 <= items1 <= itemsSpecifies sorting behavior. The two options are asc and desc to sort ascending and descending respectively, with default sort being ascending. Paging works in both directions.
"asc""asc" | "desc"A cursor to use in pagination. startingAfter is an event ID that defines your place in the list.
A cursor to use in pagination. endingBefore is an event ID that defines your place in the list.
Filters to events that have been labelled.
Response Body
application/json
curl -X GET "https://api.bem.ai/v1-alpha/events"{
"events": [
{
"functionCallTryNumber": 0,
"eventID": "string",
"createdAt": "2023-08-13T16:07:54+08:00",
"referenceID": "string",
"inboundEmail": {
"to": "string",
"deliveredTo": "string",
"from": "string",
"subject": "string"
},
"metadata": {
"durationFunctionToEventSeconds": 0
},
"eventType": "transform",
"functionCallID": "string",
"functionID": "string",
"functionName": "string",
"functionVersionNum": 0,
"callID": "string",
"workflowID": "string",
"workflowName": "string",
"workflowVersionNum": 0,
"transformationID": "tr_2bxoJPNdSD4LgRT4YVC4gt72hlI",
"transformedContent": {},
"invalidProperties": [
"string"
],
"itemOffset": 0,
"itemCount": 0
}
],
"totalCount": 0
}