---
title: "Get service logs."
method: GET
path: "/services/{uuid}/logs"
tags: ["Services"]
---

# Get service logs.

`GET /services/{uuid}/logs`

Get logs for a specific service sub-resource by service UUID. The `sub_service_name` query parameter must match the `name` field of one of the service applications or databases returned by `GET /services/{uuid}`.

## Path parameters

- `uuid` string, uuid, required

## Query parameters

- `sub_service_name` string, required
- `lines` integer
- `show_timestamps` boolean

## Response `200`

Get service logs by UUID.

- object
  - `logs` string

## Other responses

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

## Changes

- **2026-07-14** `47fd5ba6d7bf` — 1 info
  - endpoint added
- **2026-07-12** `fdd4b338659d` — 1 breaking
  - api path removed without deprecation
- **2026-07-07** `8756214c63fc` — 1 info
  - endpoint added
- **2026-07-07** `e91d1ff09643` — 1 breaking
  - api path removed without deprecation
- **2026-07-06** `5e47f492cc9b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/coollabsio/apis/coolify/changes/services/:uuid/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-service-production.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/789e6ad3796c/schema)
