---
title: "Background tasks of a sandbox"
method: GET
path: "/sandboxes/{id}/tasks"
tags: ["sandboxes"]
---

# Background tasks of a sandbox

`GET /sandboxes/{id}/tasks`

## Request

- Base URL: `https://api.eqvps.com/api/v1/eqvps`
- URL: `https://api.eqvps.com/api/v1/eqvps/sandboxes/{id}/tasks`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Tasks

- object
  - `data` TaskStatus[]
    - `task_id` string
    - `state` 'running' | 'done' | 'failed' | 'killed' | 'timeout'
    - `exit_code` integer, nullable
    - `started_at` string
    - `finished_at` string, nullable
    - `deadline` string
    - `command` string
    - `running_seconds` number
    - `done` boolean
    - `stdout` string
    - `stdout_offset` integer
    - `stdout_next_offset` integer
    - `stdout_total` integer
    - `stdout_dropped` integer
    - `stderr` string
    - `stderr_offset` integer
    - `stderr_next_offset` integer
    - `stderr_total` integer
    - `stderr_dropped` integer

## Other responses

- `404`: not_found

---

[API](https://skmtc.dev/eqvps/apis/eqvps-api.md) · [All operations](https://skmtc.dev/eqvps/apis/eqvps-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eqvps/apis/eqvps-api/revisions/2cbc15a2b088?raw)
