Argo · JSON Structure

Argo Workflows Workflow Status Structure

Status of a workflow execution

Type: object Properties: 11
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

WorkflowStatus is a JSON Structure definition published by Argo, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

phase startedAt finishedAt progress message estimatedDuration nodes conditions outputs storedTemplates artifactRepositoryRef

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-workflows-workflow-status-structure.json",
  "name": "WorkflowStatus",
  "description": "Status of a workflow execution",
  "type": "object",
  "properties": {
    "phase": {
      "type": "string",
      "enum": [
        "Pending",
        "Running",
        "Succeeded",
        "Failed",
        "Error"
      ]
    },
    "startedAt": {
      "type": "datetime"
    },
    "finishedAt": {
      "type": "datetime"
    },
    "progress": {
      "type": "string",
      "description": "Progress of the workflow (e.g. 2/4)"
    },
    "message": {
      "type": "string"
    },
    "estimatedDuration": {
      "type": "int32"
    },
    "nodes": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/components/schemas/NodeStatus"
      }
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "outputs": {
      "$ref": "#/components/schemas/Outputs"
    },
    "storedTemplates": {
      "type": "object"
    },
    "artifactRepositoryRef": {
      "type": "object",
      "properties": {
        "configMap": {
          "type": "string"
        },
        "key": {
          "type": "string"
        }
      }
    }
  }
}