Deployments

List deployments

get

Returns a list of deployments for the specified app, ordered by most recent first.

Authorizations
AuthorizationstringRequired

OAuth 2.0 access token obtained from the Spice.ai authentication service

Path parameters
appIdintegerRequired

The ID of the app

Query parameters
limitintegerOptional

Maximum number of deployments to return

Default: 20
statusstring · enumOptional

Filter by deployment status

Possible values:
Responses
chevron-right
200

List of deployments

application/json
get
/v1/apps/{appId}/deployments

Create a deployment

post

Creates a new deployment for the specified app using its current spicepod configuration. The runtime image is selected based on the app's update channel.

Authorizations
AuthorizationstringRequired

OAuth 2.0 access token obtained from the Spice.ai authentication service

Path parameters
appIdintegerRequired

The ID of the app

Body
image_tagstringOptional

Override the runtime image tag for this deployment

channelstring · enumOptional

Update channel that determines the runtime image

Possible values:
replicasinteger · min: 1 · max: 10Optional

Override the number of replicas for this deployment

branchstringOptional

Git branch name

commit_shastringOptional

Git commit SHA

commit_messagestringOptional

Git commit message

debugbooleanOptional

Enable debug mode for this deployment

Responses
post
/v1/apps/{appId}/deployments

Last updated

Was this helpful?