Endpoints
Retrieve
Execute a natural language query against your enterprise deployment and return the retrieved data.
POST
Authorizations
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
Natural language query to execute against your dataset
Example:
"How many users signed up last month?"
Optional key-value pairs to provide additional context for Snow Leopard to use when answering the question.
Example:
{
"user_id": "12345",
"company_name": "Acme Corp"
}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