---
title: "GET /v1/logs/{endpoint_name}"
method: GET
path: "/v1/logs/{endpoint_name}"
tags: ["endpoint"]
---

# GET /v1/logs/{endpoint_name}

`GET /v1/logs/{endpoint_name}`

Return endpoint logs

## Path parameters

- `endpoint_name` string, required

## Query parameters

- `begin_time` string, date-time
- `end_time` string, date-time
- `max_lines` integer
- `replica_id` string

## Response `200`

A set of endpoint logs

- LogEntry[]
  - `timestamp` string, date-time, required — time of the log entry (ISO8601 format)
  - `replica_id` string, required — unique ID of the replica
  - `data` string, required — user-provided log data

---

[API](https://skmtc.net/octoml/apis/octoai-api.md) · [All operations](https://skmtc.net/octoml/apis/octoai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octoml/octoai-api/revisions/ff4ad53097bc/schema)
