v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01206322659.2 KB
projects

Update deploy configuration for an environment, including per-component overrides.

patch/orgs/{org_id}/projects/{project_id}/envs/{env_id}/config

Path parameters

org_idstring required
project_idstring required
env_idstring required

Request body

componentsobject required

Per-component overrides, keyed by "api" or a workforce OrgsApps.id. Each entry sent REPLACES the stored entry wholesale (it is the ground truth for that component); null removes the entry so the component falls back to the env/app-level layering. Keys not present in the map are left untouched.

cpuinteger nullable
desired_countinteger nullable
ephemeral_storageinteger nullable
evalsboolean nullable

Deploy-time eval gate (GitHub-Actions-style required check): true arms it for every workforce component in this env — deploys run the component's committed evals first and fail on a non-pass. false disarms. Omit to leave unchanged. Per-component override lives on OrgsApps.deploy_config.evals.

evals_on_pushboolean nullable

Push-triggered CI eval runs: true runs the eval suite of every component with eval files on each push to this env's branch — report-only (trigger_type = 'push' on the runs), gates nothing. Per component, skipped when that component's deploy gate is armed (env- or app-level evals), since the gate already runs those evals on the push-triggered redeploy. Omit to leave unchanged.

memoryinteger nullable

Response

Configuration updated successfully