---
title: "List environment deployment logs"
method: GET
path: "/environment/{environmentId}/log"
tags: ["Environment Logs"]
---

# List environment deployment logs

`GET /environment/{environmentId}/log`

## Request

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

This returns the last 1000 environment deployment logs.

## Path parameters

- `environmentId` string, uuid, required

## Response `200`

List logs

- EnvironmentLogResponseList
  - `results` EnvironmentLog[]
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `scope` object
      - `type` 'APPLICATION' | 'DATABASE' | 'ENVIRONMENT'
      - `name` string
      - `id` string, uuid
    - `state` 'CANCELED' | 'CANCELING' | 'DELETED' | 'DELETE_ERROR' | 'DELETE_IN_PROGRESS' | 'DEPLOYED' | 'DEPLOYMENT_ERROR' | 'DEPLOYMENT_IN_PROGRESS' | 'ERROR' | 'PAUSED' | 'PAUSE_ERROR' | 'PAUSE_IN_PROGRESS' | 'WAITING'
    - `message` string, nullable, required: Log message
    - `execution_id` string: Only for errors. Helps Qovery team to investigate.
    - `hint` 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)
