Memory Stores
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
memory_store_idstringRequired
The Memory Store id
Query parameters
querystringRequired
The query to search for
topkinteger · min: 1 · max: 1000OptionalExample:
The number of results to return
10Responses
200
Results found
application/json
400
Invalid Request
401
Authentication error
get
/public_api/vector_stores/{memory_store_id}/searchAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
memory_store_idstringRequired
The Memory Store id
Body
textstringRequired
The content of the document
namestringRequired
The name of the document
metadataobjectOptional
The metadata of the document
Responses
200
Document added
application/json
400
Invalid Request
401
Authentication error
post
/public_api/vector_stores/{memory_store_id}/vector_store_documentsAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
memory_store_idstringRequired
The Memory Store id
memory_store_document_idstringRequired
The id of the document to update
Body
textstringRequired
The content of the document
namestringRequired
The name of the document
metadataobjectOptional
The metadata of the document
Responses
200
Document updated
application/json
401
Authentication error
put
/public_api/vector_stores/{memory_store_id}/vector_store_documents/{memory_store_document_id}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
memory_store_idstringRequired
The Memory Store id
memory_store_document_idstringRequired
The id of the document to delete
Responses
200
Document deleted
No content
401
Authentication error
delete
/public_api/vector_stores/{memory_store_id}/vector_store_documents/{memory_store_document_id}No content
Last updated
Was this helpful?