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
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 PlaygroundThat’s it\! You’ve now added your first memory and searched for it.