Pausing a capsule is the right choice when you want to stop incurring compute costs without losing the capsule’s in-memory state. Paused capsules consume only storage.
Endpoint
Authentication
Pass your API key in theX-API-Key header.
Path parameters
The ID of the capsule to pause (e.g.,
cl-abc123). The capsule must be in running status.Response
Returns200 OK with the updated capsule object. The status field will be "paused".
Unique capsule ID, prefixed with
cl-.Will be
"paused" after a successful pause.Name of the template the capsule was created from.
Number of virtual CPUs that were allocated.
Memory that was allocated, in MiB.
Inactivity TTL in seconds.
ISO 8601 timestamp of when the capsule was created.
ISO 8601 timestamp of when the capsule was paused.
Example response
curl
Python SDK
Error responses
| Status | Description |
|---|---|
401 Unauthorized | Missing or invalid X-API-Key. |
404 Not Found | No capsule with the given ID exists in your team. |
409 Conflict | The capsule is not in running status. Only running capsules can be paused. |