Ein Dokument im Vektor-Speicher entfernen
delete
Delete a specific document from a vector store.
Path parameters
vector-store-idstringRequired
The ID of the vector store.
document-idintegerRequired
The ID of the document.
Header parameters
x-api-keystringRequired
The API key for authentication.
Responses
204
Document deleted successfully.
delete
/vector-stores/{vector-store-id}/documents/{document-id}/204
Document deleted successfully.
No content
Beispielanfragen
curl -X DELETE \
https://api.rememberizer.ai/api/v1/vector-stores/vs_abc123/documents/1234/ \
-H "x-api-key: IHR_API_SCHLÜSSEL"const deleteDocument = async (vectorStoreId, documentId) => {
const response = await fetch(`https://api.rememberizer.ai/api/v1/vector-stores/${vectorStoreId}/documents/${documentId}/`, {
method: 'DELETE',
headers: {
'x-api-key': 'IHR_API_SCHLÜSSEL'
}
});
if (response.status === 204) {
console.log("Dokument erfolgreich gelöscht");
} else {
console.error("Löschen des Dokuments fehlgeschlagen");
}
};
deleteDocument('vs_abc123', 1234);Pfadparameter
Parameter
Typ
Beschreibung
Antwort
Authentifizierung
Fehlerantworten
Statuscode
Beschreibung
PreviousInformationen des Vektor-Speichers abrufenNextNach Dokumenten im Vektor-Speicher nach semantischer Ähnlichkeit suchen
Last updated