---
title: "Get sandbox logs"
method: GET
path: "/sandbox/logs"
tags: ["sandbox"]
---

# Get sandbox logs

`GET /sandbox/logs`

Get sandbox logs for the project with cursor-based pagination

## Query parameters

- `limit` integer
- `cursor` string
- `time_desc` boolean

## Response `200`

OK

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` ServiceGetSandboxLogsOutput
    - `has_more` boolean
    - `items` ModelSandboxLog[]
      - `backend_sandbox_id` string
      - `backend_type` string
      - `created_at` string
      - `generated_files` object[]
      - `history_commands` object[]
      - `id` string
      - `project_id` string
      - `updated_at` string
      - `will_total_alive_seconds` integer
    - `next_cursor` string

## Changes

- **2026-01-19** `cd039e3dafbc` — 1 info
  - endpoint added
- **2025-11-12** `a1c1bcb0e2ee` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/memodb-io/apis/acontext-api/changes/sandbox/logs/get.md)

---

[API](https://skmtc.dev/memodb-io/apis/acontext-api.md) · [All operations](https://skmtc.dev/memodb-io/apis/acontext-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/memodb-io/acontext-api/revisions/c8775333b1ed/schema)
