Deployments
OAuth 2.0 access token obtained from the Spice.ai authentication service
The ID of the app
Maximum number of deployments to return
20Filter by deployment status
List of deployments
Unauthorized
Insufficient scope
App not found
GET /v1/apps/{appId}/deployments HTTP/1.1
Host: api.spice.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"deployments": [
{
"id": 1,
"status": "queued",
"created_at": "2026-01-01T00:00:00.000Z",
"started_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"image_tag": "text",
"replicas": 1,
"branch": "text",
"commit_sha": "text",
"commit_message": "text",
"error_message": "text",
"creation_source": "text",
"created_by": "text"
}
]
}OAuth 2.0 access token obtained from the Spice.ai authentication service
The ID of the app
Override the runtime image tag for this deployment
Update channel that determines the runtime image
Override the number of replicas for this deployment
Git branch name
Git commit SHA
Git commit message
Enable debug mode for this deployment
Deployment created and queued for processing
Unique identifier for the deployment
Current status of the deployment
Timestamp when the deployment was created
Timestamp when the deployment started
Timestamp when the deployment was last updated
Runtime image tag used for this deployment
Number of replicas
Git branch name
Git commit SHA
Git commit message
Error message if the deployment failed
Source that triggered the deployment
User who created the deployment
Invalid request body or app has no spicepod configuration
Unauthorized
Insufficient scope
App not found
A deployment is already in progress for this app
Organization is not fully configured
Internal server error
Upstream service failure while provisioning the deployment
POST /v1/apps/{appId}/deployments HTTP/1.1
Host: api.spice.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"image_tag": "text",
"channel": "stable",
"replicas": 1,
"branch": "text",
"commit_sha": "text",
"commit_message": "text",
"debug": true
}{
"id": 1,
"status": "queued",
"created_at": "2026-01-01T00:00:00.000Z",
"started_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"image_tag": "text",
"replicas": 1,
"branch": "text",
"commit_sha": "text",
"commit_message": "text",
"error_message": "text",
"creation_source": "text",
"created_by": "text"
}Last updated
Was this helpful?