---
title: "List logs"
method: GET
path: "/container/{containerId}/log"
tags: ["Container Logs"]
---

# List logs

`GET /container/{containerId}/log`

## Request

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

This will list the last 1000 logs of the container

## Path parameters

- `containerId` string, uuid, required

## Response `200`

List logs

- LogResponseList
  - `results` Log[]
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `message` string, required
    - `pod_name` string
    - `version` 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)
