---
title: "GET /api/v1/workflows/runs/{runId}/logs"
method: GET
path: "/api/v1/workflows/runs/{runId}/logs"
tags: ["workflows"]
---

# GET /api/v1/workflows/runs/{runId}/logs

`GET /api/v1/workflows/runs/{runId}/logs`

## Path parameters

- `runId` string, required

## Query parameters

- `nodeRef` string
- `stream` 'stdout' | 'stderr' | 'console'
- `level` 'debug' | 'info' | 'warn' | 'error'
- `limit` integer
- `cursor` string, date-time
- `startTime` string, date-time
- `endTime` string, date-time

## Response `200`

Logs for a workflow run

- object
  - `runId` string
  - `logs` object[]
    - `id` string
    - `runId` string
    - `nodeId` string
    - `level` 'debug' | 'info' | 'warn' | 'error'
    - `message` string
    - `timestamp` string, date-time
  - `totalCount` number
  - `hasMore` boolean
  - `nextCursor` string, nullable

---

[API](https://skmtc.net/shipsecai/apis/shipsec-studio-api.md) · [All operations](https://skmtc.net/shipsecai/apis/shipsec-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipsecai/shipsec-studio-api/versions/cc60562ad9f3/schema)
