---
title: "Get service application logs"
method: POST
path: "/services/{uuid}/applications/{app_uuid}/logs"
tags: ["Service applications"]
---

# Get service application logs

`POST /services/{uuid}/applications/{app_uuid}/logs`

Get Docker logs for a single compose service container.

## Path parameters

- `uuid` string, required
- `app_uuid` string, required

## Query parameters

- `lines` union
  - integer
  - 'all'

## Response `200`

Logs.

- object
  - `logs` string

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Resource not found.
- `501` — Swarm not supported.

## Changes

- **2026-09-26** `f8b16020e5dd` — 1 breaking, 2 info
  - for the `query` request parameter `lines`, default value `100` was removed
  - `query` request parameter `lines` list-of-types was widened by adding types `string`
  - for the `query` request parameter `lines`, the type was generalized from `integer` to no type, and format from `int32` to no format
- **2026-07-15** `03e2545b5eeb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/coollabsio/apis/coolify/changes/services/:uuid/applications/:app_uuid/logs/post.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/f8b16020e5dd?raw)
