Get the information of a document
Retrieve the information of a document in a Vector Store.
The ID of the vector store.
The ID of the document.
The API key for authentication.
Document details retrieved successfully.
GET /api/v1/vector-stores/{vector-store-id}/documents/{document-id} HTTP/1.1
Host: api.rememberizer.ai
x-api-key: text
Accept: */*
Document details retrieved successfully.
{
"id": 1,
"name": "text",
"type": "text",
"vector_store": "text",
"size": 1,
"status": "text",
"processing_status": "text",
"indexed_on": "2025-11-15T13:10:00.641Z",
"status_error_message": "text",
"created": "2025-11-15T13:10:00.641Z",
"modified": "2025-11-15T13:10:00.641Z"
}Example Requests
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)Path Parameters
vector-store-id
string
Required. The ID of the vector store containing the document.
document-id
integer
Required. The ID of the document to retrieve.
Response Format
{
"id": 1234,
"name": "Product Manual.pdf",
"type": "application/pdf",
"vector_store": "vs_abc123",
"size": 250000,
"status": "indexed",
"processing_status": "completed",
"indexed_on": "2023-06-15T10:30:00Z",
"status_error_message": null,
"created": "2023-06-15T10:15:00Z",
"modified": "2023-06-15T10:30:00Z"
}Authentication
This endpoint requires authentication using an API key in the x-api-key header.
Error Responses
401
Unauthorized - Invalid or missing API key
404
Not Found - Vector Store or document not found
500
Internal Server Error
This endpoint retrieves detailed information about a specific document in the vector store. It's useful for checking the processing status of individual documents and retrieving metadata like file type, size, and timestamps. This can be particularly helpful when troubleshooting issues with document processing or when you need to verify that a document was properly indexed.
Last updated