Skip to main content
POST
Start cluster analysis

Authorizations

Authorization
string
header
required

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" '

Path Parameters

clusterId
string<uuid>
required

Cluster ID

Body

application/json
kind
enum<string>
required
Available options:
COST_RECOMMENDATION,
DEPRECATED_API_CHECK
output_format
enum<string>
required
Available options:
TABLE,
JSON,
CSV
prometheus_url
string | null

Optional Prometheus URL for COST_RECOMMENDATION analysis. When omitted, the engine resolves the default Qovery OBS endpoint.

cmd_args
string[]

Optional allowlisted KRR arguments for COST_RECOMMENDATION analysis. The engine validates and rejects unsupported or unsafe KRR flags.

Example:
target_kubernetes_version
string | null

Optional target Kubernetes version for DEPRECATED_API_CHECK analysis.

Example:

"1.32"

Response

Cluster analysis started

id
string<uuid>
required
cluster_id
string<uuid>
required
organization_id
string<uuid>
required
kind
enum<string>
required
Available options:
COST_RECOMMENDATION,
DEPRECATED_API_CHECK
status
enum<string>
required
Available options:
PENDING,
RUNNING,
SUCCEEDED,
FAILED,
TERMINATED
output_format
enum<string>
required
Available options:
TABLE,
JSON,
CSV
created_at
string<date-time>
required
updated_at
string<date-time>
required
triggered_by
string
required
error_message
string | null