Sandbox

Promote Environment

Promote a sandbox generation to production (creates PromotionRequest).

post/api/sandbox/promote

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/sandbox/promote
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

project_idinteger required

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

env_uuidstring required
strategy'immediate' | 'canary' | 'blue_green'
instantboolean nullable
required_approversstring[] nullable
rollout_modestring nullable
segment_idstring nullable
rollout_stepsobject[] nullable
require_gates_passedboolean

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.