List Errors
Hand off to an LLM
List terminal error events.
Returns error events produced by failed function calls within workflow executions.
Non-error output events are excluded; use GET /v3/outputs to retrieve those.
Filtering
Filter by call, workflow, function, or reference ID. Multiple filters are ANDed together.
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Query Parameters
limit?integer
Default
50Range
1 <= value <= 100callIDs?array<>
Filter to errors from specific calls.
Items
1 <= itemsworkflowIDs?array<>
Items
1 <= itemsworkflowNames?array<>
Items
1 <= itemsfunctionIDs?array<>
Items
1 <= itemsfunctionNames?array<>
Items
1 <= itemsreferenceIDs?array<>
Items
1 <= itemsreferenceIDSubstring?string
Case-insensitive substring match against referenceID.
sortOrder?string
Default
"asc"Value in
"asc" | "desc"startingAfter?string
endingBefore?string
Response Body
application/json
curl -X GET "https://api.bem.ai/v3/errors"{
"errors": [
{
"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": "error",
"functionCallID": "string",
"functionID": "string",
"functionName": "string",
"functionVersionNum": 0,
"callID": "string",
"workflowID": "string",
"workflowName": "string",
"workflowVersionNum": 0,
"message": "string"
}
],
"totalCount": 0
}See also
- Errors and status codes — error response shape, partial success