sleep_container
Stop a running container to free memory, while preserving its volume, database, and public URL. The container wakes automatically on the next request, returning the updated container.
Instructions
Sleep a running container: stop it to free memory while keeping its volume, database, and public URL, so it wakes again on the next request. Returns the updated container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerId | Yes | The container's UUID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Container UUID. | |
| url | Yes | Public HTTPS URL. | |
| status | Yes | Lifecycle status, e.g. running or sleeping. | |
| createdAt | No | Creation time (ISO 8601). | |
| subdomain | Yes | Container subdomain. | |
| memoryBytes | No | Memory limit in bytes. | |
| storageBytes | No | Storage used in bytes. |