Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API token provided by the Snow Leopard team during deployment setup.

Body

application/json
userQuery
string
required

Natural language query to execute against your dataset

Example:

"How many users signed up last month?"

knownData
object

Optional key-value pairs to provide additional context for Snow Leopard to use when answering the question.

Example:

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