To use the Sno API, you’ll need:

  1. An API key (get one by signing up at https://dev.sno.ai )
  2. Basic understanding of REST APIs
  3. A tool to make HTTP requests (like curl, Postman, or your favorite programming language)

Base URL

All API requests should be made to:

https://ragapi.sno.ai/v1

Add your first memory

curl -X POST https://ragapi.sno.ai/v1/add \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "This is the content of my first memory."}'

This will add a new memory to your Sno account.

Try it out in the API Playground

Search your memories

curl -X GET https://ragapi.sno.ai/v1/search \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "This is the content of my first memory."}'

Try it out in the API Playground

That’s it\! You’ve now added your first memory and searched for it.