Skip to main content
Executions endpoint

Create Execution Preflight

POST/execution-preflights/

Request field shape

application/json

Field names and types are inferred. Use the checked notes below to supply valid values.

{
  "preflightId": "string",
  "acknowledgeWarnings": true,
  "Run": {
    "id": "string",
    "schedulePlanId": "string",
    "mode": "string",
    "seed": 0,
    "status": "string",
    "environmentSnapshotId": "string",
    "makespanSeconds": 0,
    "cost": 0,
    "failureReason": "string",
    "activityCount": 0,
    "completedActivityCount": 0,
    "breakdown": {
      "computeSeconds": 0,
      "transferSeconds": 0,
      "queueSeconds": 0,
      "interferenceSeconds": 0,
      "overheadSeconds": 0
    },
    "transferredBytes": 0,
    "kind": "string",
    "title": "string",
    "resourceId": "string",
    "runtimeId": "string",
    "connectionId": "string",
    "actorId": "string",
    "command": "string",
    "workflowId": "string",
    "workflowVersionId": "string",
    "workflowName": "string",
    "resourceName": "string",
    "environmentNames": [
      "string"
    ],
    "startedAt": "2026-01-01T00:00:00Z",
    "finishedAt": "2026-01-01T00:00:00Z"
  },
  "Plan": {
    "id": "string",
    "workflowVersionId": "string",
    "executionScopeId": "string",
    "networkTopologyId": "string",
    "source": "string",
    "algorithm": "string",
    "algorithmVersion": "string",
    "objective": "string",
    "deadlineSeconds": 0,
    "budget": 0,
    "predicted": {
      "makespanSeconds": 0,
      "cost": 0,
      "feasible": true
    },
    "assignments": [],
    "lifecycleActions": [],
    "assignmentCount": 0,
    "metadata": {}
  },
  "Workflow": {
    "archived": true,
    "id": "string",
    "workflowId": "string",
    "version": 0,
    "definitionHash": "string",
    "activities": [],
    "dependencies": [],
    "dataDependencies": []
  },
  "Resources": [],
  "ExecutionScope": {
    "id": "string",
    "name": "string",
    "networkTopologyId": "string",
    "environmentVersionIds": [
      "string"
    ],
    "metadata": {}
  },
  "Runtimes": [
    {
      "environmentVersionId": "string",
      "id": "string",
      "name": "string",
      "driver": "string",
      "mode": "string",
      "role": "string",
      "configuration": {},
      "capabilities": {}
    }
  ],
  "RuntimeBindings": [
    {
      "resourceId": "string",
      "runtimeId": "string",
      "enabled": true,
      "configuration": {}
    }
  ],
  "NetworkTopology": {
    "id": "string",
    "name": "string",
    "version": 0,
    "executionScopeId": "string",
    "links": [],
    "metadata": {}
  },
  "ActivityProfiles": [
    {
      "activityId": "string",
      "id": "string",
      "activityTypeId": "string",
      "resourceId": "string",
      "runtimeSeconds": 0,
      "runtimeStdDevSeconds": 0,
      "cpuUtilization": 0,
      "peakMemoryBytes": 0,
      "diskReadBytes": 0,
      "diskWriteBytes": 0,
      "energyJoules": 0,
      "source": "string",
      "sampleSize": 0,
      "modelVersion": "string",
      "metadata": {}
    }
  ],
  "PreparationRequirementsByActivity": {},
  "RuntimeAllocations": {},
  "recovery": {
    "mode": "string",
    "reuseActivityIds": [
      "string"
    ],
    "retryActivityIds": [
      "string"
    ]
  },
  "activityTest": {
    "runId": "string",
    "activityId": "string",
    "attempt": 0,
    "inputs": {}
  }
}

Handler-checked behavior​

Accepts the execution request and returns a persisted prerequisite report with 200 OK. Checks are read-only, individually bounded to five seconds and bounded to thirty seconds overall. Reports expire after two minutes and do not provision resources, pull images or start work. Review blocked and unverified checks before launching with preflightId and explicit acknowledgeWarnings.

See the Executions guide for related tasks and context.