Vector Indexing
API endpoints for vector embedding and indexing operations
Vector Indexing API
The Vector Indexing API allows you to manage vector embeddings for your documents, retrieve statistics, and perform vector operations.
Get Vector Indexing Stats
Get statistics about the indexed data.
Response
Returns statistics about the indexed data, including document and chunk counts, embedding dimensions, and storage usage.
Get Indexed Documents
Get list of indexed documents with their metadata.
Response
Returns a list of indexed documents with metadata such as file name, size, creation date, and indexing status.
Get Sample Chunks
Get sample chunks with their vector embeddings.
Query Parameters
Parameter | Type | Description | Default |
---|---|---|---|
limit | integer | Maximum number of chunks to return | 5 |
Response
Returns sample chunks with their vector embeddings.
Get File Embeddings
Get embeddings for a specific file.
Path Parameters
Parameter | Type | Description |
---|---|---|
file_id | string | ID of the file to retrieve embeddings for |
Response
Returns the vector embeddings for the specified file.
Generate Local Vectors
Generate vectors locally using a simple embedding algorithm.
Response
Returns a status object with information about the local vector generation process.
Get Local Indexing Status
Get the current status of local vector indexing.
Response
Returns the current status of the local vector indexing process.
Download Document
Download a document by its ID.
Path Parameters
Parameter | Type | Description |
---|---|---|
document_id | string | ID of the document to download |
Response
Returns the document content for download.