Skip to main content
POST
Create a deployment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

site_name
string
required

The site's name, which is also its host label.

Body

application/json
files
PagesManifestFile · object[]
required
Maximum array length: 20000
alias
string

The alias to go live under; production when absent.

source
enum<string>
Available options:
api,
cli,
mcp,
portal

Response

The deployment was recorded; uploads lists the files still to upload, empty when it is already live.

deployment
PagesDeployment · object
required

An immutable deployment of a site. A deployment still uploading when its upload window closes is expired: it can no longer be finalized.

uploads
PagesUpload · object[]
required