Operating a workspace
Provision a workspace's backing stack, tune the transcoder auto-scaler, manage storage buckets, and configure retention.
Day-to-day asset operations don't need any of this — it's for the person standing up and tuning a workspace. For first-time setup, see Installation.
Provision a workspace stack
One call stands up a workspace's object storage, metadata store, and queue. The transcoder and packager are not included — both are provisioned lazily, the first time they're actually needed.
curl -X POST https://<your-instance>/api/v1/provision \
-H "Content-Type: application/json" \
-d '{"name": "mystack"}'This is asynchronous — poll GET /api/v1/provision/operations/{id} for status. Tear a stack down with DELETE /api/v1/provision/{name}. Full shape in the Provisioning reference.
Tune the transcoder auto-scaler
The auto-scaler keeps a per-workspace pool of transcoder instances and scales it on demand. By default it scales to zero when idle, trading standing cost for cold-start latency on the first job of a burst.
curl -X PATCH https://<your-instance>/api/v1/scaler/config \
-H "Content-Type: application/json" \
-d '{"maxInstances": 3, "idleTimeoutMs": 300000}'This changes maxInstances and idleTimeoutMs from the next scaler tick, with no restart.
200 means both: you get a 501 if no parameter store is configured and a 503 if the write fails, and in both cases nothing is applied. Precedence is three layers: the most recent accepted PATCH wins, otherwise the snapshot loaded from the parameter store at boot, otherwise the environment value. So a restart or redeploy keeps a persisted change — for the config endpoint and for the scaler loops — and falls back to ENCORE_MAX_INSTANCES and ENCORE_IDLE_TIMEOUT_MS only when nothing is stored or the store could not be read at boot (warn-logged with the reason). The applied value of a live PATCH still only reaches the replica that answered the request. There is no reset endpoint — send the environment values back explicitly, which overwrites the stored snapshot. For a change that must take effect everywhere after a restart, set the environment variable and redeploy.The warm floor is the exception: set ENCORE_MIN_INSTANCES to 1 or more (and restart) for production and latency-sensitive workloads, so the first job of a burst never pays the cold start. A minInstances sent to the config endpoint is validated, persisted and echoed back, but the already-running scaler keeps enforcing the floor it read at boot; the persisted floor is applied at the next boot, ahead of the variable, so changing the enforced floor through the API takes one restart. See GET /api/v1/scaler/status for the pool's live state and the Auto-scaler reference for every field.
Optional services
Add-on capabilities beyond the core stack are provisioned per workspace, on demand:
curl -X POST https://<your-instance>/api/v1/optional-services/<key>/provisionList what's available and each one's state with GET /api/v1/optional-services/. Full shape in the Optional services reference.
Storage buckets
Browse and manage the object storage buckets backing a workspace with GET /api/v1/storage/buckets, list what's inside one with GET /api/v1/storage/buckets/{bucket}/objects, and toggle watch-folder ingest per bucket — see the Ingesting media guide and the Storage reference.
Retention
Deleted assets are soft-deleted and recoverable within a configurable window:
curl https://<your-instance>/api/v1/retention/configRestore an asset within that window with POST /api/v1/assets/{id}/restore. Full shape in the Retention reference.