Calls
Call a Workflow or Function
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Request Body
application/json
calls?
Response Body
application/json
curl -X POST "https://api.bem.ai/v2/calls" \ -H "Content-Type: application/json" \ -d '{}'{
"calls": [
{
"callID": "string",
"callType": "string",
"status": "pending",
"createdAt": "2019-08-24T14:15:22Z",
"finishedAt": "2019-08-24T14:15:22Z",
"workflowID": "string",
"workflowName": "string",
"workflowVersionNum": 0,
"functionID": "string",
"functionName": "string",
"functionType": "string",
"functionVersionNum": 0,
"callReferenceID": "string",
"functionCalls": [
{
"functionCallID": "string",
"functionID": "string",
"functionName": "string",
"type": "transform",
"referenceID": "string",
"status": "pending",
"functionVersionNum": 0,
"activity": [
{
"displayName": "string",
"status": "pending"
}
],
"sourceFunctionCallID": "string",
"workflowCallID": "string",
"inputType": "string",
"s3URL": "string",
"inputs": [
{
"inputType": "string",
"itemReferenceID": "string",
"s3URL": "string"
}
]
}
],
"input": {
"singleFile": {
"inputType": "string",
"s3URL": "string"
},
"batchFiles": {
"inputs": [
{
"inputType": "string",
"itemReferenceID": "string",
"s3URL": "string"
}
]
}
}
}
],
"error": "string"
}