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

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/versions/08be5dc8e729/schema)
