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
- Get Application (
- Project (
project)- List Projects (
listProjects) - List all ArgoCD projects
- List 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>) |
|---|---|
application | application.getApplication, application.syncApplication, application.listApplications, application.getResourceTree |
project | project.listProjects |
Properties
Common
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Resource | resource | options | Yes | application | Application (application), Project (project) | - |
| Operation | operation | options | Yes | getApplication | Get Application (getApplication), Sync Application (syncApplication), List Applications (listApplications), Get Resource Tree (getResourceTree) | resource = application |
| Operation | operation | options | Yes | listProjects | List Projects (listProjects) | resource = project |
Application → Get Application
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Application Name | applicationName | string | Yes | '' | Name of the ArgoCD application to fetch | resource = application, operation = getApplication |
| Refresh | refresh | options | No | '' | None (''), Normal (normal), Hard (hard) | resource = application, operation = getApplication |
Application → Sync Application
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Application Name | applicationName | string | Yes | '' | Name of the ArgoCD application to sync | resource = application, operation = syncApplication |
| Revision | revision | string | No | '' | Optional Git revision to sync to (branch, tag, or commit SHA). Defaults to the application's target revision. | resource = application, operation = syncApplication |
| Prune | prune | boolean | No | false | Whether to delete resources that exist in the cluster but are no longer defined in Git | resource = application, operation = syncApplication |
| Dry Run | dryRun | boolean | No | false | Preview the sync without actually applying changes | resource = application, operation = syncApplication |
| Sync Strategy | strategy | options | No | hook | Hook (default) (hook), Apply (apply) | resource = application, operation = syncApplication |
| Force (Apply Strategy) | force | boolean | No | false | Force apply even if a normal apply would fail (only used with the Apply strategy) | resource = application, operation = syncApplication, strategy = apply |
Application → List Applications
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Project Filter | project | string | No | '' | Optional ArgoCD project name to filter applications by | resource = application, operation = listApplications |
Application → Get Resource Tree
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Application Name | applicationName | string | Yes | '' | Name of the ArgoCD application to fetch the live resource tree for | resource = 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 }.