---
title: "Get flow step's logs"
method: GET
path: "/flows/{id}/steps/{step_id}/logs"
tags: ["flows"]
---

# Get flow step's logs

`GET /flows/{id}/steps/{step_id}/logs`

Returns logs produced by a certain step of the flow

## Path parameters

- `id` string, string, required
- `step_id` string, string, required

## Query parameters

- `pageSize` number
- `pageToken` string

## Response `200`

Returns array of log items

- object
  - `data` object[]
    - `timestamp` string
    - `message` union
      - string
      - object
        - `msg` string
  - `meta` object
    - `pageSize` number — Number of log items per page
    - `nextPageToken` string — Token for getting the next page

## Other responses

- `400` — Invalid ID format.
- `403` — User is not authorised to get logs.
- `404` — No Flow with this id was found.

---

[API](https://skmtc.net/openintegrationhub/apis/flow-repository.md) · [All operations](https://skmtc.net/openintegrationhub/apis/flow-repository/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openintegrationhub/flow-repository/versions/898fa794c6b8/schema)
