---
title: "Logs"
method: GET
path: "/logs"
tags: ["Log"]
---

# Logs

`GET /logs`

Retrieve application logs with authentication required.<br><br>SECURITY: Logs may contain sensitive information and require authentication.

## Query parameters

- `lines_before` integer — The number of logs before the timestamp or the last log
- `lines_after` integer — The number of logs after the timestamp
- `timestamp` integer — The timestamp to start getting logs from

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-23** `b0ee9ddb8d9f` — 3 info
  - the endpoint scheme security `API key header` was added to the API
  - the endpoint scheme security `API key query` was added to the API
  - the endpoint scheme security `OAuth2PasswordBearer` was added to the API
- **2025-10-16** `9bd3e81318d7` — 2 warning, 3 info
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - the endpoint scheme security `API key header` was removed from the API
  - the endpoint scheme security `API key query` was removed from the API
  - …1 more

[Change history](https://skmtc.dev/langflow-ai/apis/langflow/changes/logs/get.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/b0ee9ddb8d9f/schema)
