Function calls

Call a Function

POST
/v2/functions/{functionName}/call
x-api-key<token>

Authenticate using API Key in request header

In: header

Path Parameters

functionNamestring
argumentsarray<Transform Function Call | Analyze Function Call | Route Function Call | Split Function Call | Join Function Call | Payload Shaping Function Call>

Array of function-specific call arguments

Response Body

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"
    }
  ]
}