Skip to content
Software capabilities
Argo CD

List Argo CD application sync status

Read sync and health together. Sync shows whether Argo CD sees live resources matching the desired state. Health reflects the condition of those resources.

Documentation reviewed · 2 methods with sources

Ways to do it

  1. CLI: argocd app list
  2. API: GET /api/v1/applications
CLI

argocd app list

List the sync and health columns for applications in the selected Argo CD project.

Read source: Argo CD app list command
Requirements
A configured Argo CD CLI context or valid ARGOCD_AUTH_TOKEN, plus application get permission for the project.
Limitations
The wide output summarizes each application. Use argocd app get for conditions and resource-level details.

Example shell

argocd app list --server "$ARGOCD_SERVER" --project "$ARGOCD_PROJECT" -o wide
API

GET /api/v1/applications

List applications in a project and read status.sync.status and status.health.status from each item.

Read source: Argo CD API documentation
Requirements
The Argo CD HTTPS base URL, an authorized Bearer token, and application get permission for the project.
Limitations
The list reports observed state. Read the sync revision before deciding whether a particular commit is live.

Example shell

curl --fail --get "$ARGOCD_BASE_URL/api/v1/applications" --data-urlencode "project=$ARGOCD_PROJECT" -H "Authorization: Bearer $ARGOCD_AUTH_TOKEN"