---
title: "List scenario logs"
method: GET
path: "/scenarios/{scenarioId}/logs"
tags: ["Scenarios / Logs"]
---

# List scenario logs

`GET /scenarios/{scenarioId}/logs`

Retrieves a collection of all logs for a scenario with a given ID. Returned logs are sorted by `imtId` in descending order.

## Path parameters

- `scenarioId` integer, required

## Query parameters

- `from` integer
- `to` integer
- `status` 1 | 2 | 3
- `durationFrom` integer
- `durationTo` integer
- `operationsFrom` integer
- `operationsTo` integer
- `transferFrom` integer
- `transferTo` integer
- `executionName` string
- `creditsFrom` integer
- `creditsTo` integer
- `showCheckRuns` boolean
- `pg[offset]` integer
- `pg[limit]` integer
- `pg[showLast]` boolean
- `pg[last]` integer
- `pg[sortBy]` string
- `pg[sortDir]` 'asc' | 'desc'

## Response `200`

Successful response

- object
  - `scenarioLogs` object[]
    - `imtId` string
    - `duration` integer
    - `operations` integer
    - `transfer` integer
    - `centicredits` integer
    - `organizationId` integer
    - `teamId` integer
    - `id` string
    - `type` string
    - `authorId` integer, nullable
    - `authorName` string, nullable — Name of the user who triggered the scenario run. Null when authorId is missing or unknown.
    - `instant` boolean
    - `timestamp` string, date-time
    - `status` integer
  - `pg` object
    - `last` string — Shown only when using the `last` based pagination.
    - `showLast` boolean — Shown only when using the `last` based pagination.
    - `sortBy` string
    - `sortDir` string
    - `limit` integer
    - `offset` integer — Shown only when using the `offset` based pagination.

---

[API](https://skmtc.dev/make/apis/web-api-v2-public.md) · [All operations](https://skmtc.dev/make/apis/web-api-v2-public/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/make/web-api-v2-public/revisions/531769e6f813/schema)
