---
title: "Get preview application logs."
method: GET
path: "/applications/{uuid}/previews/{pull_request_id}/logs"
tags: ["Applications"]
---

# Get preview application logs.

`GET /applications/{uuid}/previews/{pull_request_id}/logs`

Get runtime container logs for a preview deployment by application UUID and pull request ID.

## Path parameters

- `uuid` string, required
- `pull_request_id` integer, required

## Query parameters

- `lines` union
  - integer
  - 'all'
- `show_timestamps` boolean

## Response `200`

Preview runtime logs.

- object
  - `logs` string

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Resource not found.
- `422` — Validation error.

## Changes

- **2026-09-18** `ef835681a3fe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/coollabsio/apis/coolify/changes/applications/:uuid/previews/:pull_request_id/logs/get.md)

---

[API](https://skmtc.dev/coollabsio/apis/coolify.md) · [All operations](https://skmtc.dev/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc.dev/coollabsio/apis/coolify/revisions/5fe936a59290?raw)
