# Images and templates

Choose an approved image and understand its runtime and readiness.

Canonical: https://docs.runtabs.dev/sandboxes/templates/
Reviewed: 2026-11-28

## Find available templates

GET /tabs/v1/capabilities requires a workspace API key. It describes supported gateway routes and fixed create options. hostReadiness is always not-checked: a supported create route is not a promise of available capacity, an online VM runtime or a healthy guest.

Then read GET /v2/templates for approved IDs, runtime, CPU, memory and readiness. A missing image, unsupported image and unavailable runtime have separate reason codes. Older hosts may omit readiness diagnoses. A historical dashboard snapshot is not current readiness.

```sh
curl --fail --silent --show-error \
  -H "X-API-Key: $TABS_API_KEY" \
  https://api.runtabs.dev/tabs/v1/capabilities

curl --fail --silent --show-error \
  -H "X-API-Key: $TABS_API_KEY" \
  https://api.runtabs.dev/v2/templates
```

## Understand the profile

A template describes a starting image, runtime and resource allocation. The current development Ubuntu profile uses a VM with a writable filesystem and administrator access. Other profiles may be restricted. Read the returned runtime rather than assuming every image uses the same execution backend.

## Image readiness

An advertised template can still be unavailable on a particular host. Missing images, unsupported images and unavailable runtimes are different failures. Host readiness is time-sensitive; a previous successful create does not prove the next create will be admitted.

## Custom images

Template enrollment is operator-managed. Ask an administrator to approve and prepare an image; the public compatibility create route does not build Dockerfiles, pull arbitrary images, or accept a runtime override. Existing environment bindings are not updated by renaming a template.
