Skip to main content
GET
/
environment
/
{environmentId}
/
deploymentHistoryV2
List environment deployments
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/deploymentHistoryV2 \
  --header 'Authorization: <api-key>'
{
  "page": 1,
  "page_size": 20,
  "results": [
    {
      "identifier": {
        "execution_id": "<string>",
        "environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "auditing_data": {
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "triggered_by": "<string>",
        "origin": "API"
      },
      "status": "BUILDING",
      "trigger_action": "DEPLOY",
      "total_duration": "<string>",
      "stages": [
        {
          "name": "<string>",
          "status": "QUEUED",
          "duration": "<string>",
          "services": [
            {
              "identifier": {
                "name": "<string>",
                "service_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "service_type": "APPLICATION",
                "execution_id": "<string>"
              },
              "status": "BUILDING",
              "auditing_data": {
                "created_at": "2023-11-07T05:31:56Z",
                "updated_at": "2023-11-07T05:31:56Z",
                "triggered_by": "<string>",
                "origin": "API"
              },
              "details": {
                "commit": {
                  "created_at": "<any>",
                  "git_commit_id": "<any>",
                  "tag": "<any>",
                  "message": "<any>",
                  "author_name": "<any>",
                  "author_avatar_url": "<any>",
                  "commit_page_url": "<any>"
                }
              },
              "status_details": {
                "action": "DEPLOY",
                "status": "QUEUED"
              },
              "icon_uri": "<string>",
              "total_duration": "<string>"
            }
          ]
        }
      ],
      "action_status": "QUEUED"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

environmentId
string<uuid>
required

Query Parameters

pageSize
number | null
default:20

The number of deployments to return in the current page

Response

List deployment history

page
number
required
Example:

1

page_size
number
required
Example:

20

results
object[]