POST
deployments:write · 1,200 req / min /v2/deployments Create a deployment
Schedules an immutable regional deployment from a verified Git commit digest. Supports canary traffic shifting and idempotent replay via the Idempotency-Key header.
Response Fields
id string status enum canary_weight number url string curl -X POST https://api.docsforge.example/v2/deployments \
-H "Authorization: Bearer $DOCSFORGE_TOKEN" \
-H "DocsForge-Version: 2026-10-15" \
-H "Idempotency-Key: deploy-edge-9f4b2c8a" \
-H "Content-Type: application/json" \
-d '{
"project": "edge-gateway",
"region": "iad1",
"strategy": "canary",
"commit_sha": "9f4b2c8a1e7d"
}'