Endpoints
Retrieve
Execute a natural language query against your instance’s data sources and return the retrieved data.
POST
Authorizations
Bearer authentication header of the form Bearer <api_key>. API keys are created per instance in Snow Leopard Cloud.
Path Parameters
Unique identifier for the instance to query
Body
application/json
Natural language query to execute against your instance's data sources
Example:
"How many users signed up last month?"
Response
Successful query execution
Type discriminator
Available options:
retrieveResponse Unique identifier for this API call
Array of query results or errors
- schemaData
- errorSchemaData
Status of the API response
Available options:
SUCCESS, NOT_FOUND_IN_SCHEMA, UNKNOWN, INTERNAL_SERVER_ERROR, AUTHORIZATION_FAILED, LLM_ERROR, LLM_TOKEN_LIMIT_REACHED