set_always_on
Toggle a container's always-on 24/7 status to prevent sleeping. On Free plans, enabling consumes a paid add-on slot; Pro/Scale containers are already always-on.
Instructions
Turn a container's always-on (24/7, never sleeps) flag on or off. On Free this consumes a paid always-on add-on slot (fails if none is free); on Pro/Scale every container is always-on already. Returns the updated container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true to enable always-on, false to disable. | |
| 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. |