v13

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

List the workflows using a GitOps source

Returns the workflows (stacks or edge stacks) currently deployed from this source. Access policy: authenticated

get/gitops/sources/{id}/workflows

Path parameters

idinteger required

Source identifier

Response

OK

creationDateinteger
idinteger required
lastSyncDateinteger
namestring required
platform'dockerStandalone' | 'dockerSwarm' | 'kubernetes' required
sourceIdinteger
type'stack' | 'edgeStack' required

Example response

[
  {
    "gitConfig": {
      "ConfigFilePath": "docker-compose.yml",
      "ConfigHash": "bc4c183d756879ea4d173315338110b31004b8e0",
      "ReferenceName": "refs/heads/branch_name",
      "URL": "https://github.com/portainer/portainer.git"
    }
  }
]