setup

Fence new Turns and request a restart only when existing work is idle.

Return restart_required=True on acceptance. Return 409 when setup is not ready or a Turn or workspace operation is active, leaving that work running. Concurrent attempts are serialized so a rejected request cannot reopen setup after an accepted restart.

post/setup/apply

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Response

Successful Response

restart_requiredboolean required

Changes