---
title: "List last commits"
method: GET
path: "/terraform/{terraformId}/commit"
tags: ["Terraform Main Calls"]
---

# List last commits

`GET /terraform/{terraformId}/commit`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/terraform/{terraformId}/commit`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/terraform/:terraformId/commit/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns list of the last 100 commits made on the repository linked to the terraform service

## Path parameters

- `terraformId` string, uuid, required

## Response `200`

List commits

- CommitResponseList
  - `results` Commit[]
    - `created_at` string, date-time, required
    - `git_commit_id` string, required
    - `tag` string, required
    - `message` string, required
    - `author_name` string, required
    - `author_avatar_url` string
    - `commit_page_url` string

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
