Skip to main content
This documentation is specific to the Snow Leopard Playground. The Playground is free to use and allows you to get a sense of Snow Leopard. Get started by uploading your own SQLite datafile. See our FAQ for more details on the Playground, supported datatypes etc.
Already an enterprise customer? See Enterprise documentation for details on how to use Snow Leopard with your AI Agent.
To build AI agents on Snow Leopard’s Playground APIs you need to:
  1. Create API keys for authentication
  2. Get the Playground Datafile ID for the SQLite database you want to use with your agent
  3. Use our SDKs or the API directly
See below for details.

Authentication

All API endpoints are authenticated using API Keys, also known as Bearer Tokens. You can generate a key/token from your Snow Leopard account page.
Generate a new API Key

Getting your Datafile ID

Don’t have your own data? Use one of our sample datasets to get started.
To retrieve your datafile id, find the desired SQLite file on your datafiles page and click the Copy ID button in the File ID column. This will copy the file ID, which you can then use in the API calls to fetch live data from the SQLite datafile.

Using the API

There are currently multiple ways of interacting with the Snow Leopard API:
  1. Python SDK (pypi)
  2. TypeScript SDK (npm)
  3. REST endpoints
from snowleopard import SnowLeopardClient

client = SnowLeopardClient(api_key="{api_key}")
response = client.retrieve(
    datafile_id="{datafile_id}",
    user_query="How many superheroes are there?"
)
print(response.data)