---
title: "List container deployments"
method: GET
path: "/container/{containerId}/deploymentHistory"
tags: ["Container Deployment History"]
---

# List container deployments

`GET /container/{containerId}/deploymentHistory`

## Request

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

Returns the 20 last container deployments

## Path parameters

- `containerId` string, uuid, required

## Response `200`

List deployment history

- object
  - `page` number, required
  - `page_size` number, required
  - `results` DeploymentHistoryContainer[]
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time
    - `name` string: name of the container
    - `status` 'BUILDING' | 'BUILD_ERROR' | 'CANCELED' | 'CANCELING' | 'DELETED' | 'DELETE_ERROR' | 'DELETE_QUEUED' | 'DELETING' | 'DEPLOYED' | 'DEPLOYING' | 'DEPLOYMENT_ERROR' | 'DEPLOYMENT_QUEUED' | 'EXECUTING' | 'QUEUED' | 'READY' | 'RECAP' | 'RESTARTED' | 'RESTARTING' | 'RESTART_ERROR' | 'RESTART_QUEUED' | 'STOPPED' | 'STOPPING' | 'STOP_ERROR' | 'STOP_QUEUED' | 'WAITING_DELETING' | 'WAITING_RESTARTING' | 'WAITING_RUNNING' | 'WAITING_STOPPING'
    - `image_name` string
    - `tag` string
    - `arguments` string[]
    - `entrypoint` 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)
