---
title: "Get endpoint logs [READ]"
method: GET
path: "/v2/endpoint/{namespace}/{name}/logs"
tags: ["Endpoints"]
---

# Get endpoint logs [READ]

`GET /v2/endpoint/{namespace}/{name}/logs`

## Path parameters

- `namespace` string, required
- `name` string, required

## Query parameters

- `replica` string
- `follow` boolean
- `tail` integer
- `line_max_length` integer

## Response `200`

Endpoint replica logs returned successfully

---

[API](https://skmtc.net/huggingface/apis/hf-inference-endpoints-api.md) · [All operations](https://skmtc.net/huggingface/apis/hf-inference-endpoints-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hf-inference-endpoints-api/versions/52e3f4cdbf86/schema)
