Argo Workflows Template Structure
A workflow template definition
Template is a JSON Structure definition published by Argo, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-workflows-template-structure.json",
"name": "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": "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 Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/argo-workflows-template-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.