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 <= itemsUsed for search over referenceIDs of events. Will perform case-insensitive substring matching.
Specifies 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": "2019-08-24T14:15:22Z",
"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,
"pipelineID": "string",
"publishedAt": "2019-08-24T14:15:22Z",
"lastPublishErrorAt": "string",
"inputType": "csv",
"transformationID": "string",
"s3URL": "string",
"inputs": [
{
"inputType": "string",
"inputContent": "string",
"jsonInputContent": {},
"s3URL": "string"
}
],
"transformedContent": {},
"correctedContent": {
"output": [
{}
]
},
"invalidProperties": [
"string"
],
"metrics": {
"metrics": {
"accuracy": 0,
"precision": 0,
"recall": 0,
"f1Score": 0
},
"differences": [
{
"category": "string",
"correctedVal": null,
"extractedVal": null,
"jsonPointer": "string"
}
]
},
"orderMatching": true,
"isRegression": true,
"itemOffset": 0,
"itemCount": 0
}
],
"totalCount": 0
}