Events
List Events
x-api-key<token>
Authenticate using API Key in request header
In: header
Query Parameters
limit?integer
Default
50
Range
1 <= value <= 100
eventIDs?array<string>
eventTypes?array<EventType>
Array with event names to filter events by. Formatted as a CSV array.
functionIDs?array<string>
Array with function IDs to filter events by. Formatted as a CSV array.
functionNames?array<string>
Array with function names to filter events by. Formatted as a CSV array.
taskIDs?array<string>
Array with task IDs to filter events by. Formatted as a CSV array.
referenceIDs?array<string>
sortOrder?string
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.
Default
"asc"
Value in
"asc" | "desc"
startingAfter?string
A cursor to use in pagination. startingAfter
is an event ID that defines your place in the list.
endingBefore?string
A cursor to use in pagination. endingBefore
is an event ID that defines your place in the list.
Response Body
curl -X GET "https://api.bem.ai/v1-alpha/events?limit=50&eventIDs=string&eventTypes=transform&functionIDs=string&functionNames=string&taskIDs=string&referenceIDs=string&sortOrder=asc&startingAfter=string&endingBefore=string"
{
"events": [
{
"eventID": "string",
"referenceID": "string",
"taskID": "string",
"eventType": "transform",
"functionName": "string",
"functionID": "string",
"transformationID": "tr_2bxoJPNdSD4LgRT4YVC4gt72hlI",
"transformedContent": {},
"invalidProperties": [
"string"
],
"itemOffset": 0,
"itemCount": 0
}
],
"totalCount": 0
}