POST
/
api
/
v1
/
{workflowID}
/
executions
/
bulk
Get Bulk Execution
curl --request POST \
  --url https://flows.eachlabs.ai/api/v1/{workflowID}/executions/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "execution_ids": [
    "<string>"
  ]
}'
{
  "status": "<string>",
  "total": 123,
  "executions": [
    {
      "flow_id": "<string>",
      "average_percent": 123,
      "flow_name": "<string>",
      "organization_id": "<string>",
      "api_key": "<string>",
      "execution_id": "<string>",
      "source_ip_address": "<string>",
      "parameters": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ],
      "step_results": [
        {
          "step_id": "<string>",
          "step_name": "<string>",
          "model": "<string>",
          "version": "<string>",
          "started_at": "<string>",
          "ended_at": "<string>",
          "status": "<string>",
          "output": "<string>",
          "output_json": {},
          "input": "<string>"
        }
      ],
      "status": "<string>",
      "output": "<string>",
      "output_json": {},
      "created_at": "<string>",
      "started_at": "<string>",
      "ended_at": "<string>",
      "updated_at": "<string>",
      "deleted_at": "<string>"
    }
  ]
}

Authentication

Every request must include your X-API-KEY header:
curl --request POST \
  --url https://flows.eachlabs.ai/api/v1/{workflowID}/executions/bulk \
  --header "X-API-KEY: YOUR_API_KEY_HERE" \
  --header "Content-Type: application/json" \
  --data '{
    "execution_ids": [
      "550e8400-e29b-41d4-a716-446655440000",
      "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
    ]
  }'

Authorizations

X-API-KEY
string
header
required

API key required for authentication. Every request must include this header.

Path Parameters

workflowID
string<string>
required

Workflow ID

Body

application/json

Response

200
application/json

GetExecutionsResponse JSON

The response is of type object.