---
title: "Get Cluster log by clusterID"
method: GET
path: "/log/{clusterID}"
tags: ["Log"]
---

# Get Cluster log by clusterID

`GET /log/{clusterID}`

When the container of requestArgs is not set, the logs of all components will be obtained

## Path parameters

- `clusterID` integer, required

## Query parameters

- `container` string, required
- `previous` boolean, required
- `since` string, required
- `since-time` string, required
- `timestamps` boolean, required
- `tail` string, required
- `limit-bytes` string, required

## Headers

- `Authorization` string, required

## Response `200`

Success

- object
  - `msg` string
  - `data` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized operation
- `500` — Internal server error

---

[API](https://skmtc.dev/federatedai/apis/kubefate-service-api.md) · [All operations](https://skmtc.dev/federatedai/apis/kubefate-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/federatedai/kubefate-service-api/revisions/01a50f79e50f/schema)
