Skip to main content
GET
/
terraform
/
{terraformId}
/
deploymentHistoryV2
List terraform deployments
curl --request GET \
  --url https://api.qovery.com/terraform/{terraformId}/deploymentHistoryV2 \
  --header 'Authorization: <api-key>'
{
  "page": 1,
  "page_size": 20,
  "results": [
    {
      "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": "2023-11-07T05:31:56Z",
          "git_commit_id": "<string>",
          "tag": "v2.1.1",
          "message": "<string>",
          "author_name": "<string>",
          "author_avatar_url": "<string>",
          "commit_page_url": "<string>"
        }
      },
      "status_details": {
        "action": "DEPLOY",
        "status": "QUEUED"
      },
      "icon_uri": "<string>",
      "total_duration": "<string>"
    }
  ]
}

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

terraformId
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[]