Function calls
Call a Function
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Path Parameters
functionName*string
referenceID*string
Unique reference ID for this function call
file?unknown
File to process (for single file functions)
files?array<>
Multiple files to process (for join functions)
Response Body
application/json
curl -X POST "https://api.bem.ai/v2/functions/string/call" \ -H "Content-Type: application/json" \ -d '{ "arguments": [ { "referenceID": "string", "inputType": "csv", "inputContent": "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"
}
]
}
]
}