Skip to main content
Use this endpoint to retrieve all capsules that belong to your team, across every status. The response is an array ordered by creation time (newest first). Use it to audit running resources, build dashboards, or locate a capsule by status before acting on it.

Endpoint

Authentication

Pass your API key in the X-API-Key header.

Request parameters

This endpoint takes no query parameters or request body.

Response

Returns 200 OK with an array of capsule objects. An empty team returns []. Each object in the array has the following fields:
string
required
Unique capsule ID, prefixed with cl-.
string
required
Current lifecycle status. One of: pending, starting, running, paused, stopped, error.
string
required
Name of the template used to create the capsule.
integer
required
Number of virtual CPUs allocated.
integer
required
Memory allocated, in MiB.
integer
required
Inactivity TTL in seconds. 0 means auto-pause is disabled.
string
required
ISO 8601 timestamp of when the capsule was created.
string
required
ISO 8601 timestamp of the most recent status change.
string
ISO 8601 timestamp of when the capsule last reached running status. null if the capsule has never booted.
string
ISO 8601 timestamp of the last exec call or ping.

Example response

curl

Python SDK

Error responses