AI Builder

Generation Realign To Prod Endpoint

Clear sandbox diff fields toward stable production (leaf writes only).

post/api/generations/{project_id}/realign-to-prod

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/generations/{project_id}/realign-to-prod
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

project_idinteger required

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

env_uuidstring required

Sandbox anchor UUID

path_prefixesstring[] nullable

Revert only paths under these dotted prefixes

dry_runboolean

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.