docs: More info about every endpoint

This commit is contained in:
Dhravya Shah 2025-04-05 16:52:42 -07:00
parent 9c2f020c2c
commit 3ab02360ea
5 changed files with 31 additions and 5 deletions

View file

@ -1,3 +1,10 @@
---
openapi: get /connect/{app}
---
---
You may connect supermemory to other apps.
when you send a GET request to the /connect:APP?id=<> endpoint, you will get a redirectURL. This is a safe URL that your users can click and select the appropriate files with. Once this is done, supermemory will periodically re-fetch and make sure that the data is always fresh.
As of right now, these apps are supported:
- Notion

View file

@ -1,3 +1,5 @@
---
openapi: get /connections/{connectionId}
---
---
Get the connection details using this endpoint.

View file

@ -1,3 +1,7 @@
---
openapi: put /update/{id}
---
---
Update an existing memory.
Please note that all existing metadata will be replaced with the new ones.
You can also use the /add endpoint along with the ID specified.

View file

@ -1,3 +1,7 @@
---
openapi: get /fastsearch
---
---
Fast, lossy search using quantized embeddings. This can be used in case your app has text completions, or when searching fast is absolutely necessary.

View file

@ -1,3 +1,12 @@
---
openapi: post /search
---
---
Search through documents with metadata filtering.
Body:
`q`: Your search query
`limit`: Number of documents you want to get
`filters`: Filters can be applied as `AND, OR, negate, numeric` types. You can read more about it here - [https://docs.supermemory.ai/essentials/metadata-filtering](https://docs.supermemory.ai/essentials/metadata-filtering)