curl --request GET \
--url https://api.qovery.com/project/{projectId}/environment/status \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "BUILDING",
"last_deployment_state": "BUILDING",
"last_deployment_date": "2023-11-07T05:31:56Z",
"last_deployment_id": "<string>",
"total_deployment_duration_in_seconds": 123,
"origin": "API",
"triggered_by": "<string>",
"deployment_status": "NEVER_DEPLOYED"
}
]
}Returns a list of environments with only their id and status.
curl --request GET \
--url https://api.qovery.com/project/{projectId}/environment/status \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "BUILDING",
"last_deployment_state": "BUILDING",
"last_deployment_date": "2023-11-07T05:31:56Z",
"last_deployment_id": "<string>",
"total_deployment_duration_in_seconds": 123,
"origin": "API",
"triggered_by": "<string>",
"deployment_status": "NEVER_DEPLOYED"
}
]
}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" '
Project ID
Get status
Show child attributes
Was this page helpful?