---
title: "Get container log entries for the environment"
method: GET
path: "/orgs/{orgId}/apps/{appId}/envs/{envId}/logs"
tags: ["public", "Logs"]
---

# Get container log entries for the environment

`GET /orgs/{orgId}/apps/{appId}/envs/{envId}/logs`

## Path parameters

- `orgId` string, required
- `appId` string, required
- `envId` string, required

## Query parameters

- `workload_id` string
- `container_id` string
- `deployment_id` string
- `timestamp_from` string
- `timestamp_to` string
- `limit` string
- `asc` boolean
- `invert` boolean

## Response `200`

List of log entries returned.

- OutputEntryResponse[]
  - `container_id` string, required
  - `level` string, required
  - `payload` string, required
  - `timestamp` string, required
  - `workload_id` string, required

## Other responses

- `400` — The request is invalid.
- `404` — The environment is not found.
- `429` — Too Many Requests.

---

[API](https://skmtc.net/humanitec/apis/humanitec-api.md) · [All operations](https://skmtc.net/humanitec/apis/humanitec-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanitec/humanitec-api/revisions/e21ad140ec3c/schema)
