mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-11 22:51:05 +00:00
docs: More info about every endpoint
This commit is contained in:
parent
9c2f020c2c
commit
3ab02360ea
5 changed files with 31 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
openapi: get /connections/{connectionId}
|
||||
---
|
||||
---
|
||||
|
||||
Get the connection details using this endpoint.
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue