Argo · Schema

Template

A workflow template definition

CNCFCI/CDGitOpsKubernetesOpen-SourceProgressive DeliveryWorkflow Engine

Properties

Name Type Description
name string Name of the template
inputs object
outputs object
container object Container to run
script object Script to run in a container
resource object Kubernetes resource to create/patch/delete
dag object DAG template definition
steps array Steps template definition (list of parallel step groups)
suspend object Suspend template for manual approval
activeDeadlineSeconds integer
retryStrategy object
nodeSelector object
metadata object Metadata to set on step pods
View JSON Schema on GitHub

JSON Schema

argo-workflows-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-schema/argo-workflows-template-schema.json",
  "title": "Template",
  "description": "A workflow template definition",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the template"
    },
    "inputs": {
      "$ref": "#/components/schemas/Inputs"
    },
    "outputs": {
      "$ref": "#/components/schemas/Outputs"
    },
    "container": {
      "type": "object",
      "description": "Container to run",
      "properties": {
        "image": {
          "type": "string"
        },
        "command": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "args": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "env": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "resources": {
          "type": "object",
          "properties": {
            "limits": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "requests": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "volumeMounts": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "script": {
      "type": "object",
      "description": "Script to run in a container",
      "properties": {
        "image": {
          "type": "string"
        },
        "command": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": "string"
        }
      }
    },
    "resource": {
      "type": "object",
      "description": "Kubernetes resource to create/patch/delete",
      "properties": {
        "action": {
          "type": "string",
          "enum": [
            "get",
            "create",
            "apply",
            "delete",
            "replace",
            "patch"
          ]
        },
        "manifest": {
          "type": "string"
        },
        "successCondition": {
          "type": "string"
        },
        "failureCondition": {
          "type": "string"
        }
      }
    },
    "dag": {
      "type": "object",
      "description": "DAG template definition",
      "properties": {
        "tasks": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/DAGTask"
          }
        }
      }
    },
    "steps": {
      "type": "array",
      "description": "Steps template definition (list of parallel step groups)",
      "items": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/WorkflowStep"
        }
      }
    },
    "suspend": {
      "type": "object",
      "description": "Suspend template for manual approval",
      "properties": {
        "duration": {
          "type": "string"
        }
      }
    },
    "activeDeadlineSeconds": {
      "type": "integer",
      "format": "int64"
    },
    "retryStrategy": {
      "$ref": "#/components/schemas/RetryStrategy"
    },
    "nodeSelector": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "metadata": {
      "type": "object",
      "description": "Metadata to set on step pods",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/argo-workflows-template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.