---
title: "List logs for a sandbox"
method: GET
path: "/sandboxes/{id}/logs"
tags: ["Sandboxes"]
---

# List logs for a sandbox

`GET /sandboxes/{id}/logs`

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `page_token` string

## Response `200`

OK

- ThundertypesSandboxLogListResponse
  - `logs` ThundertypesSandboxLog[]
    - `data` ThundertypesSandboxLogData
      - `message` string
      - `node_name` string
      - `phase` string
    - `event` 'created' | 'scheduled' | 'started' | 'ready' | 'finished' | 'failed' | 'info', required
    - `id` string, required
    - `sandbox_id` string, required
    - `timestamp` string, required
  - `next_page_token` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/thundercompute/apis/thunder-compute-api.md) · [All operations](https://skmtc.dev/thundercompute/apis/thunder-compute-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thundercompute/thunder-compute-api/revisions/122382e24d26/schema)
