Promotes the source environment’s current content + code into this environment. Runs the unified deployment in-process: it writes the env-keyed template_snapshot, atomically commits the env pointer, AND dispatches the managed code build — this CLOSES the env-pin → code-deploy gap (a promote now deploys code, not just content). Returns 202 with the created deployment row; the snapshot + env-pointer commit are already done, while the build runs asynchronously — poll GET /v1/deployments/{deployment_id} to watch code_status reach deployed. The default environment cannot be a promote target.
Documentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
Application ID for tenant scoping
API key (sk_agentmark_*)
Promotion ran — the env-keyed snapshot was written, the env pointer was committed, and the build was dispatched.