> ## 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. # Update the properties of a workflow run ## OpenAPI ````json PATCH /api/v1/confidential_computing/workflow_runs/{run-id} { "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/{run-id}": { "patch": { "tags": [ "ConfidentialComputingWorkflowRuns" ], "summary": "Update the properties of a workflow run", "description": "", "operationId": "updateWorkflowRun", "x-auth-resource": "JobWorkerAuth", "parameters": [ { "$ref": "#/components/parameters/WorkflowRunId" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateWorkflowRunRequest" } } }, "description": "Request to update a workflow run", "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowRun" } } } } }, "security": [ { "bearerToken": [] } ] } } }, "components": { "parameters": { "WorkflowRunId": { "name": "run-id", "in": "path", "required": true, "description": "An instance of a running workflow.", "schema": { "type": "string", "format": "uuid" } } }, "schemas": { "UpdateWorkflowRunRequest": { "type": "object", "properties": { "run_status": { "$ref": "#/components/schemas/WorkflowRunStatus" } } }, "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" } } }, "WorkflowRunStatus": { "type": "string", "enum": [ "PENDING", "RUNNING", "FAILED", "SUCCEEDED", "TERMINATING", "TERMINATED", "UNKNOWN" ] }, "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" } } }, "WorkflowRunData": { "type": "object", "x-union-object": true, "properties": { "AciSingleJob": { "$ref": "#/components/schemas/AciWorkflowRunData" }, "KubernetesSingleJob": { "$ref": "#/components/schemas/KubernetesWorkflowRunData" } } }, "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" } } }, "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" } } } }, "securitySchemes": { "bearerToken": { "type": "apiKey", "in": "header", "name": "Authentication", "description": "A JWT bearer token to be passed once authenticated." } } } } ````