curl https://api.supermemory.ai/v3/memories \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ -d '{"content": "This is the content of my first memory."}'
This will add a new memory to your supermemory account.
curl https://api.supermemory.ai/v3/search \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ -d '{"q": "This is the content of my first memory."}'