---
title: "Gets the available log files for the environment"
method: GET
path: "/monitoring/{owner}/environments/{environment}/logs/{log}"
tags: ["monitoring"]
---

# Gets the available log files for the environment

`GET /monitoring/{owner}/environments/{environment}/logs/{log}`

## Path parameters

- `owner` string, required
- `environment` string, required
- `log` string, required

## Headers

- `If-Modified-Since` string
- `If-Unmodified-Since` string
- `Range` string
- `If-Range` string

## Response `200`

Full log file contents (at time of the request)

## Other responses

- `206` — A subset of the log file contents, returned when a valid Range request is made
- `304` — The log file has not changed
- `403` — User does not have permission to view logs from environments with the given owner
- `404` — Log file or environment does not exist
- `412` — The log file has changed
- `416` — The requested ranges of bytes can not be satisifed for this log file
- `500` — Could not retrieve log

---

[API](https://skmtc.dev/determined-ai/apis/launcher-api.md) · [All operations](https://skmtc.dev/determined-ai/apis/launcher-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/determined-ai/launcher-api/revisions/33885ccfb9ac/schema)
