For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Reference

Spice.ai Cloud Platform API Reference

The Spice.ai Cloud Platform exposes two sets of APIs: Runtime APIs for querying data and AI, and the Management API for managing projects and infrastructure.

Runtime APIs

Runtime APIs are served at https://data.spiceai.io and authenticated with Project API keys.

API
Endpoint
Documentation

SQL Query (HTTP)

POST /v1/sql

SQL Query (Arrow Flight)

grpc+tls://flight.spiceai.io

LLM Chat Completions

POST /v1/chat/completions

Text-to-SQL

POST /v1/nsql

Text-to-SQL context

GET /v1/nsql/context

Search

POST /v1/search

MCP

POST /v1/mcp

Health

GET /health

Metrics

GET /v1/metrics

Management API

The Management API is served at https://api.spice.ai and authenticated with Personal Access Tokens or OAuth client credentials.

Endpoint
Documentation

Projects

Deployments

Deployments API

Secrets

Secrets API

API Keys

API Keys API

Members

Members API

Regions

Regions API

Container Images

Container Images API

Health

Health API

See the full Management API reference for authentication, scopes, rate limits, and examples.

OpenAPI Specification

The Spice.ai Platform API spec is available at:

Last updated

Was this helpful?