Deployments
Create a deployment
The org is orgId in the path. Creates a new deployment for the specified project using its current spicepod configuration. A project connected to a GitHub repository deploys spicepod.yaml from its root directory, read when the deployment is created. It reads the head of the production branch, or the branch or commit_sha the request names. The runtime image is selected based on the project's update channel.
post/v1/orgs/{orgId}/projects/{projectId}/deployments
Request
- Base URLhttps://api.spice.ai
- AuthHTTP bearer
Path parameters
orgIdinteger required
The org id from GET /v1/orgs
projectIdinteger required
The ID of the project
Headers
X-Org-Namestring
When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).
Request body
Response
Deployment created and queued for processing
Changes
No recorded changes to this operation across all 1 revision of this API.