supermemory automatically detects the content type of the document you are adding.

Usage

All you have to do is pass the content to the /add endpoint, and supermemory will automatically detect the content type of the document.

The content can be a url that points to any resource on a web. It can also be a plaintext string, or a file path.

curl https://api.supermemory.ai/v3/memories \
  --request POST \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  -d '{"content": "https://example.com/article"}'