---
title: "Get services logs"
method: GET
path: "/services-logs"
tags: ["Management"]
---

# Get services logs

`GET /services-logs`

Get services logs

## Query parameters

- `services` string[]
- `level` string

## Response `200`

A paged array of logs

- ServicesLogs
  - `items` ServicesLog[]
    - `time` string
    - `message` string
    - `service` string
    - `host` string
    - `path` string
    - `lineno` string
    - `level` string
    - `branch` string
    - `flow_kind` string
    - `flow` string
    - `run` string
    - `job` string
    - `tool` string
    - `step` string
    - `agent` string
  - `total` integer

## Other responses

- `default` — unexpected error

## Changes

> 50 revisions in range; 1 could not be searched.

- **2023-02-26** `42ef9ef8325e` — 9 info
  - added the optional property `items/items/agent` to the response with the `200` status
  - added the optional property `items/items/branch` to the response with the `200` status
  - added the optional property `items/items/flow` to the response with the `200` status
  - added the optional property `items/items/flow_kind` to the response with the `200` status
  - …5 more
- **2021-05-16** `5c129c0e61a8` — 2 warning, 1 info
  - removed the optional property `bookmarks` from the response with the `200` status
  - removed the optional property `job` from the response with the `200` status
  - added the new optional `query` request parameter `level`
- **2021-05-15** `a5a652deaca1` — 1 info
  - the `query` request parameter `services` became optional
- **2021-05-15** `25da14a89fef` — 1 info
  - endpoint added
- **2021-01-31** `6dffc3a4de00` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kraken-ci/apis/server-api/changes/services-logs/get.md)

---

[API](https://skmtc.dev/kraken-ci/apis/server-api.md) · [All operations](https://skmtc.dev/kraken-ci/apis/server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kraken-ci/server-api/revisions/1f2ae877f985/schema)
