curl --request POST \
--url https://api.qovery.com/cluster/{clusterId}/argoCdConfig/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"argocd_url": "https://argocd.example.com",
"argocd_token": "<string>"
}
'{
"status": "connected",
"app_count": 42,
"reason": "authentication_failed"
}Test an ArgoCD URL and token before saving. The cluster agent attempts to connect to ArgoCD and returns the connection result.
Always returns HTTP 200 — check the status field for the connection outcome. Requires ADMIN role.
curl --request POST \
--url https://api.qovery.com/cluster/{clusterId}/argoCdConfig/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"argocd_url": "https://argocd.example.com",
"argocd_token": "<string>"
}
'{
"status": "connected",
"app_count": 42,
"reason": "authentication_failed"
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Cluster ID
The URL of the ArgoCD instance (e.g. https://argocd.example.com)
"https://argocd.example.com"
ArgoCD API authentication token
Connection check result
Connection result
connected, error "connected"
Number of ArgoCD applications visible with the provided token. Present only when status is "connected".
42
Failure reason. Present only when status is "error".
authentication_failed, unreachable, insufficient_permissions "authentication_failed"
Was this page helpful?