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

Successful query execution

__type__
enum<string>
required

Type discriminator

Available options:
retrieveResponse
callId
string<uuid>
required

Unique identifier for this API call

data
(schemaData · object | errorSchemaData · object)[]
required

Array of query results or errors

responseStatus
enum<string>
required

Status of the API response

Available options:
SUCCESS,
NOT_FOUND_IN_SCHEMA,
UNKNOWN,
INTERNAL_SERVER_ERROR,
AUTHORIZATION_FAILED,
LLM_ERROR,
LLM_TOKEN_LIMIT_REACHED