---
title: "Get Studio logs"
method: GET
path: "/studios/{sessionId}/log"
tags: ["studios"]
---

# Get Studio logs

`GET /studios/{sessionId}/log`

Retrieves the process log of the latest session of the given Studio, read from the compute environment's log stream (e.g. CloudWatch). Availability depends on the compute provider and its log retention.

## Path parameters

- `sessionId` string, required

## Query parameters

- `workspaceId` integer
- `next` string
- `maxLength` integer

## Response `200`

OK

- DataStudioLogResponse
  - `log` LogPage
    - `downloads` LogPageDownload[]
      - `displayText` string
      - `fileName` string
      - `saveName` string
    - `entries` IteratorString
    - `forwardToken` string
    - `message` string
    - `pending` boolean
    - `rewindToken` string
    - `truncated` boolean

## Other responses

- `403` — Operation not allowed.
- `404` — NotFound, when the Studio is not found or when the API is disabled for the workspace.

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
