Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>. API keys are created per instance in Snow Leopard Cloud.

Path Parameters

instance_id
string
required

Unique identifier for the instance to query

Body

application/json
userQuery
string
required

Natural language query to execute against your instance's data sources

Example:

"How many users signed up last month?"

Response

Streaming response with newline-delimited JSON objects

Stream of JSON objects, one per line, in order: ResponseStart, ResponseData, ResponseLLMResult (or EarlyTermination)

__type__
enum<string>
required

Type discriminator

Available options:
responseStart
callId
string<uuid>
required

Unique identifier for this API call

userQuery
string
required

The original user query