> ## 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. # Stop execution for the given workflow ## OpenAPI ````json POST /v1/workflow_runs/{run-id}/stop { "openapi": "3.0.4", "info": { "title": "Confidential Computing Manager", "description": "Fortanix Confidential Computing Manager Backend. These are APIs using which the frontend and other clients (compute node agents) interact with Fortanix Confidential Computing Manager functionalities, which include compute node and app enrollment, attestation and signing, and Certificate Authority.", "termsOfService": "https://www.fortanix.com/legal/terms/", "contact": { "name": "Fortanix Support", "url": "https://support.fortanix.com/hc/en-us/categories/360003107511-Confidential-Computing-Manager", "email": "support@fortanix.com" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "2.0.0" }, "servers": [ { "url": "https://ccm.fortanix.com" } ], "paths": { "/v1/workflow_runs/{run-id}/stop": { "post": { "tags": [ "WorkflowRuns" ], "summary": "Stop execution for the given workflow.", "description": "", "operationId": "stopWorkflowRun", "parameters": [ { "$ref": "#/components/parameters/WorkflowRunId" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowRunStatusResponse" } } } } }, "security": [ { "bearerToken": [] } ], "x-auth-resource": "Writer,Manager,ActiveAccount" } } }, "components": { "parameters": { "WorkflowRunId": { "name": "run-id", "in": "path", "description": "An instance of a running workflow.", "required": true, "schema": { "type": "string", "format": "uuid" } } }, "schemas": { "WorkflowRunStatusResponse": { "required": [ "run" ], "type": "object", "properties": { "run": { "$ref": "#/components/schemas/WorkflowRun" }, "generic": { "$ref": "#/components/schemas/WorkflowRunRawResponse" } } }, "WorkflowRun": { "required": [ "run_id", "run_status", "created_at", "graph_id", "graph_version", "group_id", "deployment", "workflow_cluster_data" ], "type": "object", "properties": { "run_id": { "type": "string", "description": "Run ID of running workflow", "format": "uuid" }, "run_status": { "$ref": "#/components/schemas/WorkflowRunStatus" }, "created_at": { "type": "integer", "description": "Time workflow was started.", "format": "int64" }, "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": {} } }, "WorkflowRunStatus": { "enum": [ "PENDING", "RUNNING", "FAILED", "SUCCEEDED", "TERMINATING", "TERMINATED", "UNKNOWN" ], "type": "string" }, "WorkflowDeployment": { "maxProperties": 1, "minProperties": 1, "type": "object", "properties": { "kubernetes_single_job": { "$ref": "#/components/schemas/KubernetesSingleJob" }, "aci_single_job": { "$ref": "#/components/schemas/AciSingleJob" } }, "description": "Deployment info for a workflow. Exactly one of kubernetes_single_job or aci_single_job field must be set." }, "WorkflowRunData": { "type": "object", "properties": { "AciSingleJob": { "$ref": "#/components/schemas/AciWorkflowRunData" }, "KubernetesSingleJob": { "$ref": "#/components/schemas/KubernetesWorkflowRunData" } }, "x-union-object": true }, "KubernetesSingleJob": { "required": [ "namespace", "cluster_id" ], "type": "object", "properties": { "namespace": { "type": "string" }, "cluster_id": { "type": "string", "format": "uuid" } }, "description": "" }, "AciSingleJob": { "required": [ "cluster_id" ], "type": "object", "properties": { "cluster_id": { "type": "string", "format": "uuid" }, "deployment_location": { "type": "string" } }, "description": "" }, "AciWorkflowRunData": { "required": [ "app_id", "build_id", "config_id", "cluster_id", "container_group_name", "deployment_name" ], "type": "object", "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": { "required": [ "app_id", "build_id", "config_id", "cluster_id" ], "type": "object", "properties": { "app_id": { "type": "string", "format": "uuid" }, "build_id": { "type": "string", "format": "uuid" }, "config_id": { "type": "string" }, "cluster_id": { "type": "string", "format": "uuid" } } } }, "securitySchemes": { "bearerToken": { "type": "apiKey", "description": "A JWT bearer token to be passed once authenticated.", "name": "Authentication", "in": "header" } } } } ````