> ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Start the given workflow ## OpenAPI ````json POST /api/v1/confidential_computing/workflow_runs { "openapi": "3.0.0", "info": { "description": "**API of the Fortanix Unified Data and AI Security Platform**\n\nThe API client *must* follow HTTP redirects, including 308 redirects. Many HTTP libraries (such as Python Requests, JavaScript fetch) do this by default. With cURL, you must pass `--location`.\n", "title": "Armor API", "version": "0.1.0" }, "servers": [ { "url": "https://api.armor.fortanix.com" } ], "tags": [ { "description": "APIs regarding creating or ending a session.", "name": "Authentication" }, { "description": "APIs regarding obtaining details about the connection.", "name": "DiscoveryConnection" }, { "description": "APIs regarding obtaining details about the policies.", "name": "DiscoveryPolicies" }, { "description": "APIs regarding obtaining details about the scans.", "name": "DiscoveryScan" }, { "description": "APIs regarding obtaining the reports related to AWS.", "name": "DiscoveryAwsReports" }, { "description": "APIs regarding obtaining the reports related to Azure.", "name": "DiscoveryAzureReports" }, { "description": "APIs regarding obtaining the reports for Services.", "name": "DiscoveryServicesReports" }, { "description": "APIs regarding obtaining the PQC reports.", "name": "DiscoveryPqcReports" }, { "description": "APIs regarding obtaining the reports related to DSM.", "name": "DiscoveryDsmReports" }, { "description": "APIs regarding obtaining the details about the inventory objects.", "name": "DiscoveryInventory" }, { "description": "APIs regarding obtaining the reports related to On-Prem infrastructure.", "name": "DiscoveryOnPremReports" }, { "description": "APIs regarding obtaining the details about the inventory objects associated to a scan.", "name": "DiscoveryScanInventory" } ], "paths": { "/api/v1/confidential_computing/workflow_runs": { "post": { "tags": [ "ConfidentialComputingWorkflowRuns" ], "summary": "Start the given workflow", "description": "", "operationId": "startWorkflowRun", "x-auth-resource": "Writer,Manager,ActiveAccount", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StartWorkflowRunRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowRunStatusResponse" } } } } }, "security": [ { "bearerToken": [] } ] } } }, "components": { "schemas": { "StartWorkflowRunRequest": { "type": "object", "required": [ "graph_id", "graph_version" ], "properties": { "graph_id": { "description": "UUID of a graph.", "type": "string", "format": "uuid" }, "graph_version": { "description": "Version of a graph.", "type": "string" }, "deployment": { "$ref": "#/components/schemas/WorkflowDeployment" }, "runtime_configs": { "type": "object", "x-sorted": true, "additionalProperties": { "$ref": "#/components/schemas/WorkflowObjectFinalAppPatch" } } } }, "WorkflowRunStatusResponse": { "type": "object", "required": [ "run" ], "properties": { "run": { "$ref": "#/components/schemas/WorkflowRun" }, "generic": { "$ref": "#/components/schemas/WorkflowRunRawResponse" } } }, "WorkflowDeployment": { "type": "object", "description": "Deployment info for a workflow. Exactly one of kubernetes_single_job or aci_single_job field must be set.", "minProperties": 1, "maxProperties": 1, "properties": { "kubernetes_single_job": { "$ref": "#/components/schemas/KubernetesSingleJob" }, "aci_single_job": { "$ref": "#/components/schemas/AciSingleJob" } } }, "WorkflowObjectFinalAppPatch": { "type": "object", "description": "", "properties": { "deployment": { "$ref": "#/components/schemas/WorkflowAppDeployment" } } }, "WorkflowRun": { "type": "object", "required": [ "run_id", "run_status", "created_at", "graph_id", "graph_version", "group_id", "deployment", "workflow_cluster_data" ], "properties": { "run_id": { "type": "string", "format": "uuid", "description": "Run ID of running workflow" }, "run_status": { "$ref": "#/components/schemas/WorkflowRunStatus" }, "created_at": { "type": "integer", "format": "int64", "description": "Time workflow was started." }, "graph_id": { "type": "string", "format": "uuid" }, "graph_version": { "type": "string", "description": "The current version of the running graph, not necessarily the same version that was started originally." }, "group_id": { "type": "string", "format": "uuid" }, "deployment": { "$ref": "#/components/schemas/WorkflowDeployment" }, "workflow_cluster_data": { "$ref": "#/components/schemas/WorkflowRunData" } } }, "WorkflowRunRawResponse": { "type": "object", "properties": { "kubernetes": {}, "aci": {} } }, "KubernetesSingleJob": { "type": "object", "description": "", "required": [ "namespace", "cluster_id" ], "properties": { "namespace": { "type": "string" }, "cluster_id": { "type": "string", "format": "uuid" } } }, "AciSingleJob": { "type": "object", "description": "", "required": [ "cluster_id" ], "properties": { "cluster_id": { "type": "string", "format": "uuid" }, "deployment_location": { "type": "string" } } }, "WorkflowAppDeployment": { "type": "object", "description": "Deployment info for an app. Exactly one of kubernetes or aci field must be set.", "minProperties": 1, "maxProperties": 1, "properties": { "kubernetes": { "$ref": "#/components/schemas/WorkflowAppKubernetes" }, "aci": { "$ref": "#/components/schemas/WorkflowAppAci" } } }, "WorkflowRunStatus": { "type": "string", "enum": [ "PENDING", "RUNNING", "FAILED", "SUCCEEDED", "TERMINATING", "TERMINATED", "UNKNOWN" ] }, "WorkflowRunData": { "type": "object", "x-union-object": true, "properties": { "AciSingleJob": { "$ref": "#/components/schemas/AciWorkflowRunData" }, "KubernetesSingleJob": { "$ref": "#/components/schemas/KubernetesWorkflowRunData" } } }, "WorkflowAppKubernetes": { "type": "object", "description": "", "required": [ "job_spec" ], "properties": { "job_spec": { "type": "object" } } }, "WorkflowAppAci": { "type": "object", "description": "", "required": [ "exposed_ports", "env_vars" ], "properties": { "exposed_ports": { "description": "List of ports exposed for the azure container instance.", "type": "array", "items": { "$ref": "#/components/schemas/DockerNetworkPort" } }, "env_vars": { "type": "object", "x-sorted": true, "additionalProperties": { "type": "string" } } } }, "AciWorkflowRunData": { "type": "object", "required": [ "app_id", "build_id", "config_id", "cluster_id", "container_group_name", "deployment_name" ], "properties": { "app_id": { "type": "string", "format": "uuid" }, "build_id": { "type": "string", "format": "uuid" }, "config_id": { "type": "string" }, "cluster_id": { "type": "string", "format": "uuid" }, "container_group_name": { "type": "string" }, "deployment_name": { "type": "string" } } }, "KubernetesWorkflowRunData": { "type": "object", "required": [ "app_id", "build_id", "config_id", "cluster_id" ], "properties": { "app_id": { "type": "string", "format": "uuid" }, "build_id": { "type": "string", "format": "uuid" }, "config_id": { "type": "string" }, "cluster_id": { "type": "string", "format": "uuid" } } }, "DockerNetworkPort": { "type": "object", "description": "A port exposed by a docker container.", "required": [ "port", "protocol" ], "properties": { "port": { "type": "integer", "description": "A valid, specific port number from 1..65535 (inclusive)." }, "protocol": { "$ref": "#/components/schemas/DockerNetworkProtocol" } } }, "DockerNetworkProtocol": { "type": "string", "description": "Protocol Associated with a Port exposed by a docker container.", "enum": [ "Tcp", "Udp" ] } }, "securitySchemes": { "bearerToken": { "type": "apiKey", "in": "header", "name": "Authentication", "description": "A JWT bearer token to be passed once authenticated." } } } } ````