Typescript (SDK)
Deployments
Deploy a site
Builds and publishes the site’s current main branch to production. Asynchronous: responds 202 with a pending deployment whose status moves to live (success) or failed (build or smoke-check error). Poll GET /sites/{id}/deployments to track it. If a deploy is already in flight, the existing one is returned instead of starting a second build.
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Response
The queued deployment
Available options:
pending, building, live, failed, superseded, unpublished 
