---
title: "Stop Studio"
method: PUT
path: "/studios/{sessionId}/stop"
tags: ["studios"]
---

# Stop Studio

`PUT /studios/{sessionId}/stop`

Stops the given Studio session ID.

## Path parameters

- `sessionId` string, required

## Query parameters

- `workspaceId` integer

## Response `200`

OK

- DataStudioStopResponse
  - `jobSubmitted` boolean, required
  - `sessionId` string, required
  - `statusInfo` DataStudioStatusInfo, required
    - `lastUpdate` string, date-time
    - `message` string
    - `status` 'starting' | 'running' | 'stopping' | 'stopped' | 'errored' | 'building' | 'buildFailed'
    - `stopReason` 'CREDITS_RUN_OUT' | 'LIFESPAN_EXPIRED' | 'SPOT_RECLAMATION' | 'NO_STATS_AVAIL'

## 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.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
