Sandbox

Sandbox Hosting Release

Snapshot live hosting workspace into an immutable release labeled with sandbox gen.

Does not swap canonical /s/{pid}/{name}/ — use POST /api/hosting/releases/{uuid}/promote. Optionally refreshes {name}-preview for safe review.

post/api/sandbox/hosting/release

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/hosting/release
  • 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

site_idstring required
env_uuidstring nullable
sandbox_generationinteger nullable
labelstring nullable
publish_previewboolean

Response

Successful Response

unknown required

Changes

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