Calls

Call a Workflow or Function

POST
/v2/calls
x-api-key<token>

Authenticate using API Key in request header

In: header

calls?array<CallsCreateRequestItem>

Response Body

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"
        }
      ]
    }
  ],
  "error": "string"
}