v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Workflow templates

Get workflow templates

Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is true

get/api/v2/templates

Query parameters

summaryboolean

Whether the entire template object or just a summary should be returned

Whether the entire template object or just a summary should be returned

searchstring string

The substring in either the name or description of a template

The substring in either the name or description of a template

Response

Workflow templates list response JSON

Example response

{
  "items": [
    {
      "stages": [
        {
          "_id": "12ab3c45de678910abc12345",
          "name": "10% rollout on day 1",
          "conditions": [
            {
              "_execution": {
                "status": "completed"
              },
              "id": "12ab3c45de678910abc12345",
              "kind": "schedule",
              "scheduleKind": "relative",
              "waitDuration": 2,
              "waitDurationUnit": "calendarDay"
            }
          ],
          "action": {
            "kind": "patch"
          },
          "_execution": {
            "status": "completed"
          }
        }
      ]
    }
  ]
}