Apps

Get app metrics

get

Returns current resource utilization metrics (CPU, memory, disk I/O) and data ingestion metrics for an app.

Authorizations
AuthorizationstringRequired

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

Path parameters
appIdintegerRequired

The ID of the app

Query parameters
windowstringOptional

Prometheus-style duration (e.g. 5m, 1h, 30s). When provided, counter metrics are returned as rates over the window instead of raw cumulative values. For example, rows_ingested returns average rows per second with a window, or total cumulative rows without one.

Responses
chevron-right
200

Resource and ingestion metrics. Missing fields indicate no data is currently available. Individual metric queries may fail independently; partial results are returned when possible.

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

Get an app

get

Returns details for a specific app, including its configuration.

Authorizations
AuthorizationstringRequired

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

Path parameters
appIdintegerRequired

The ID of the app

Responses
chevron-right
200

App details with configuration

application/json
idintegerOptional
namestringOptional
descriptionstringOptional
visibilitystring · enumOptionalPossible values:
created_atstring · date-timeOptional
regionstringOptional
production_branchstringOptional
api_keystringOptionalDeprecated

Deprecated. Use the API Keys endpoints instead.

get
/v1/apps/{appId}

Update an app

put

Updates an app's metadata and configuration, including description, visibility, spicepod configuration, replicas, and resource limits.

Authorizations
AuthorizationstringRequired

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

Path parameters
appIdintegerRequired

The ID of the app

Body
descriptionstringOptional
visibilitystring · enumOptionalPossible values:
production_branchstringOptional
spicepodone ofOptional
stringOptional

YAML string of the spicepod configuration

or
objectOptional

JSON object of the spicepod configuration

image_tagstringOptional

Runtime image tag

update_channelstring · enumOptional

Update channel for the runtime

Possible values:
replicasintegerOptional
regionstringOptional
storage_size_gbnumberOptional
storage_claim_size_gbnumberOptionalDeprecated

Deprecated. Use storage_size_gb instead.

Responses
chevron-right
200

App updated successfully

application/json
idintegerOptional

Unique identifier for the app

namestringOptional

Name of the app

descriptionstring · nullableOptional

Description of the app

visibilitystring · enumOptional

Visibility setting for the app

Possible values:
created_atstring · date-timeOptional

Timestamp when the app was created

cnamestringOptional

Region identifier

production_branchstring · nullableOptional

Production branch for the app

api_keystringOptionalDeprecated

Deprecated. Use the API Keys endpoints instead.

warningstring · nullableOptional

Present when the app was created but initial configuration could not be applied

put
/v1/apps/{appId}

Delete an app

delete

Deletes an app and tears down its runtime resources.

Authorizations
AuthorizationstringRequired

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

Path parameters
appIdintegerRequired

The ID of the app to delete

Responses
delete
/v1/apps/{appId}

No content

List apps

get

Returns all apps belonging to the authenticated organization.

Authorizations
AuthorizationstringRequired

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

Responses
chevron-right
200

List of apps

application/json
get
/v1/apps

Create an app

post

Creates a new app in the authenticated organization.

Authorizations
AuthorizationstringRequired

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

Body
namestring · min: 4Required

App name (letters, numbers, hyphens only)

Pattern: ^[a-zA-Z0-9-]+$
regionstring · enumOptional

Cloud region where the app will be deployed (e.g. us-east-1).

Possible values:
cnamestringOptional

Deprecated. Internal region CNAME (e.g. us-east-1-prod-aws-data). Use region instead. Accepted for backwards compatibility when region is omitted.

descriptionstringOptional

App description

visibilitystring · enumOptionalDefault: privatePossible values:
update_channelstring · enumOptional

Update channel for the app deployment

Possible values:
replicasintegerOptional

Number of replicas

Responses
post
/v1/apps

Last updated

Was this helpful?