---
title: "List Log Files"
method: GET
path: "/endpoints/{endpoint_id}/logs"
tags: ["Logs"]
---

# List Log Files

`GET /endpoints/{endpoint_id}/logs`

Returns available log files for an endpoint. Supports filtering by replica and history.

## Path parameters

- `endpoint_id` string, required

## Query parameters

- `replica_id` string
- `include_history` boolean

## Response `200`

List of log files.

- LogFile[]
  - `node_id` string — Node ID where the log is stored.
  - `replica_id` string — Associated replica ID.
  - `filename` string — Log file path. Use as the `filename` parameter in the `/logs/file` API.
  - `is_historical` boolean — Whether this is a rotated historical log file from a terminated replica.
  - `start_time` string, date-time, nullable — Log start time. Only available for historical logs.
  - `end_time` string, date-time, nullable — Log end time. Only available for historical logs.

---

[API](https://skmtc.dev/aieev/apis/aircloud-external-api.md) · [All operations](https://skmtc.dev/aieev/apis/aircloud-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aieev/aircloud-external-api/revisions/5cb76994bce9/schema)
