Skip to main content
Use this endpoint to retrieve all templates available to your team. The response includes both base templates (pre-built images provided by Wrenn) and snapshot templates (images you have created from running capsules). Use the name field from any returned template as the template parameter when creating a new capsule.

Endpoint

Authentication

string
required
Your team’s API key. Pass the full wrn_... key value.

Query parameters

string
Filter templates by type. Accepted values: "base" (built-in images) or "snapshot" (team-created snapshots). Omit to return all templates.

Example requests

Response

Returns 200 OK with an array of Template objects.
string
required
The template name. Pass this value as template when creating a capsule.
string
required
Either "base" (a built-in Wrenn image) or "snapshot" (created from a running capsule).
integer
Number of vCPUs the template was captured with. May be null for base templates.
integer
Memory in MiB the template was captured with. May be null for base templates.
integer
Total size of the template files on disk, in bytes.
string
required
ISO 8601 timestamp of when the template was created.

Example response

Python SDK

The name field is what you pass as the template parameter in POST /v1/capsules. Base template names like "minimal" are always available; snapshot names are scoped to your team.