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

# List environment deployment logs v2

`GET /environment/{environmentId}/logs`

## Request

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

This returns the last 1000 environment deployment logs v2

## Path parameters

- `environmentId` string, uuid, required

## Query parameters

- `version` string

## Response `200`

List logs v2

- EnvironmentLogs[]
  - `type` string, string, required
  - `timestamp` string, date-time, required
  - `details` object, required
    - `organization_id` string, uuid
    - `cluster_id` string, uuid
    - `execution_id` string
    - `transmitter` object
      - `id` string, uuid
      - `name` string
      - `type` string
    - `stage` object
      - `step` string
      - `id` string, uuid, nullable
      - `name` string, nullable
  - `error` object, nullable
    - `tag` string
    - `user_log_message` string
    - `link` string
    - `hint_message` string
    - `underlying_error` object
      - `message` string
      - `full_details` string
  - `message` object, nullable
    - `safe_message` string
    - `full_details` 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)
