---
title: "GET /v2/clusters/{cluster_id}/logs"
method: GET
path: "/v2/clusters/{cluster_id}/logs"
tags: ["installer"]
---

# GET /v2/clusters/{cluster_id}/logs

`GET /v2/clusters/{cluster_id}/logs`

Download cluster logs.

## Path parameters

- `cluster_id` string, uuid, required

## Query parameters

- `logs_type` 'host' | 'controller' | 'all'
- `host_id` string, uuid

## Response `200`

Success.

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Error.
- `405` — Method Not Allowed.
- `409` — Error.
- `500` — Error.

---

[API](https://skmtc.net/openshift/apis/assistedinstall.md) · [All operations](https://skmtc.net/openshift/apis/assistedinstall/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openshift/assistedinstall/versions/9d0b4936ca97/schema)
