Skip to main content

ArgoCD

Type ID: argocd  ·  Kind: Action  ·  Ports: 1 in, 1 out

Inspect and sync ArgoCD applications and projects.

Credentials​

ArgoCD

{
"credentials": {
"name": "argocd",
"id": "<credential-id>"
}
}

Resources & operations​

  • Application (application)
    • Get Application (getApplication) - Fetch a single application's status, health, and sync state
    • Sync Application (syncApplication) - Trigger a sync of an application
    • List Applications (listApplications) - List applications, optionally filtered by project
    • Get Resource Tree (getResourceTree) - Get the live Kubernetes resource tree managed by an application
  • Project (project)
    • List Projects (listProjects) - List all ArgoCD projects

For agent integrations (name: 'argocd' in permissions.integrations), grant '*', a resource key, or an operation key — see Tools and Permissions:

Resource key (<resource>)Operation keys (<resource>.<operation>)
applicationapplication.getApplication, application.syncApplication, application.listApplications, application.getResourceTree
projectproject.listProjects

Properties​

Common​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
ResourceresourceoptionsYesapplicationApplication (application), Project (project)-
OperationoperationoptionsYesgetApplicationGet Application (getApplication), Sync Application (syncApplication), List Applications (listApplications), Get Resource Tree (getResourceTree)resource = application
OperationoperationoptionsYeslistProjectsList Projects (listProjects)resource = project

Application → Get Application​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
Application NameapplicationNamestringYes''Name of the ArgoCD application to fetchresource = application, operation = getApplication
RefreshrefreshoptionsNo''None (''), Normal (normal), Hard (hard)resource = application, operation = getApplication

Application → Sync Application​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
Application NameapplicationNamestringYes''Name of the ArgoCD application to syncresource = application, operation = syncApplication
RevisionrevisionstringNo''Optional Git revision to sync to (branch, tag, or commit SHA). Defaults to the application's target revision.resource = application, operation = syncApplication
PruneprunebooleanNofalseWhether to delete resources that exist in the cluster but are no longer defined in Gitresource = application, operation = syncApplication
Dry RundryRunbooleanNofalsePreview the sync without actually applying changesresource = application, operation = syncApplication
Sync StrategystrategyoptionsNohookHook (default) (hook), Apply (apply)resource = application, operation = syncApplication
Force (Apply Strategy)forcebooleanNofalseForce apply even if a normal apply would fail (only used with the Apply strategy)resource = application, operation = syncApplication, strategy = apply

Application → List Applications​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
Project FilterprojectstringNo''Optional ArgoCD project name to filter applications byresource = application, operation = listApplications

Application → Get Resource Tree​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
Application NameapplicationNamestringYes''Name of the ArgoCD application to fetch the live resource tree forresource = application, operation = getResourceTree

Project → List Projects​

(No additional properties)

Notes​

  • Get Application output: { name, syncStatus, healthStatus, revision, raw }.
  • Sync Application output: { name, syncStatus, operationPhase, raw }.
  • List Applications output: { count, applications: [{ name, project, syncStatus, healthStatus }], raw }.
  • Get Resource Tree output: { count, nodes: [{ kind, name, namespace, healthStatus }], raw }.
  • List Projects output: { count, projects: [{ name, description }], raw }.