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

- **2026-03-12** `830c31118215` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-03-06** `0be341779529` — 2 info
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was added to the API
  - the endpoint scheme security `OAuth2PasswordBearer` was removed from the API
- **2026-02-18** `191b57fc530b` — 2 info
  - the endpoint scheme security `OAuth2PasswordBearer` was added to the API
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was removed from the API
- **2026-02-10** `0be341779529` — 2 info
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was added to the API
  - the endpoint scheme security `OAuth2PasswordBearer` was removed from the API
- **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

[Full 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/a5c4fa6a88f7/schema)
