---
title: "Get Log File Content"
method: GET
path: "/endpoints/{endpoint_id}/logs/file"
tags: ["Logs"]
---

# Get Log File Content

`GET /endpoints/{endpoint_id}/logs/file`

Returns the content of a specific log file by line range.

## Path parameters

- `endpoint_id` string, required

## Query parameters

- `node_id` string, required
- `filename` string, required
- `start_line` integer
- `end_line` integer

## Response `200`

Log file content.

- LogContent
  - `content` string — Log file content for the specified line range. Each line is a JSON log entry.
  - `start_line` integer — Actual start line number returned.
  - `end_line` integer — Actual end line number returned.

---

[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)
