v13

latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-01265409652.5 KB
gitops

Get a GitOps workflow by ID

Returns the detail view of a single GitOps workflow, with one entry per backing stack or edge stack artifact. Access policy: authenticated

get/gitops/workflows/{id}

Path parameters

idinteger required

Workflow identifier

Response

OK

creationDateinteger
idinteger required
lastSyncDateinteger
namestring required

Example response

{
  "artifacts": [
    {
      "autoUpdate": {
        "Interval": "1m30s",
        "JobID": "15",
        "Webhook": "05de31a2-79fa-4644-9c12-faa67e5c49f0"
      },
      "files": [
        {
          "hash": "abc123",
          "path": "portainer.yaml",
          "ref": "refs/heads/main"
        }
      ]
    }
  ]
}