Informationen zu einem Dokument abrufen
get
Retrieve the information of a document in 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
200
Document details retrieved successfully.
application/json
get
/vector-stores/{vector-store-id}/documents/{document-id}200
Document details retrieved successfully.
Beispielanfragen
curl -X GET \
https://api.rememberizer.ai/api/v1/vector-stores/vs_abc123/documents/1234 \
-H "x-api-key: YOUR_API_KEY"const getDocumentInfo = async (vectorStoreId, documentId) => {
const response = await fetch(`https://api.rememberizer.ai/api/v1/vector-stores/${vectorStoreId}/documents/${documentId}`, {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
};
getDocumentInfo('vs_abc123', 1234);import requests
def get_document_info(vector_store_id, document_id):
headers = {
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(
f"https://api.rememberizer.ai/api/v1/vector-stores/{vector_store_id}/documents/{document_id}",
headers=headers
)
data = response.json()
print(data)
get_document_info('vs_abc123', 1234)Pfadparameter
Parameter
Typ
Beschreibung
Antwortformat
Authentifizierung
Fehlerantworten
Statuscode
Beschreibung
PreviousListe der Dokumente in einem Vektor-Speicher abrufenNextInformationen des Vektor-Speichers abrufen
Last updated