---
title: "GET /ai/applications/{application_public_id}/workspace"
method: GET
path: "/ai/applications/{application_public_id}/workspace"
tags: ["AI Applications"]
---

# GET /ai/applications/{application_public_id}/workspace

`GET /ai/applications/{application_public_id}/workspace`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/applications/{application_public_id}/workspace`
- Auth: HTTP bearer

## Path parameters

- `application_public_id` string, required

## Response `200`

- ApplicationWorkspaceResponse
  - `cpu_limit` number, double, required
  - `cpu_usage_usec` integer, nullable
  - `data_network_service_count` integer, required
  - `desired_state` string, required
  - `disk_limit_enforced` boolean, required: Docker bind-mounted workspaces report usage but cannot enforce a per-directory quota. Firecracker workspaces enforce this value.
  - `disk_limit_mb` integer, required
  - `disk_used_bytes` integer, nullable
  - `idle_timeout_secs` integer, required
  - `image` string, nullable
  - `last_error` string, nullable
  - `memory_limit_mb` integer, required
  - `memory_used_bytes` integer, nullable
  - `open_preview_ports` integer[], required
  - `persistent_volume_healthy` boolean, required
  - `pids_limit` integer, required
  - `pids_used` integer, nullable
  - `runtime` string, required
  - `runtime_compatible` boolean, nullable
  - `runtime_update_available` boolean, required
  - `runtime_update_error` string, nullable
  - `runtime_update_image` string, nullable
  - `sandbox_public_id` string, nullable
  - `snapshot_id` string, nullable
  - `state` string, required

## Other responses

- `401`
- `403`
- `404`
- `503`

## Changes

- **2026-09-13** `dbda5c31c626`: 4 info
  - added the optional property `runtime_compatible` to the response with the `200` status
  - added the optional property `runtime_update_error` to the response with the `200` status
  - added the optional property `runtime_update_image` to the response with the `200` status
  - added the required property `runtime_update_available` to the response with the `200` status
- **2026-09-07** `7a3103561bd0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/applications/:application_public_id/workspace/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
