Skip to main content

Get an embedding (chunk) by ID.

GET 

/api/documents/:docId/embedding/:embeddingId

Retrieves a specific embedding by its document ID and embedding ID. The response includes the chunk text (sysembed_text), the vector (sysembed_vector), the embedding type (sysembed_type), and the location within the source document (sysembed_location — page/paragraph for text, bounding box for images, row/column for spreadsheets, timestamps for video). This is the same data returned by vector search (POST /api/query/embeddings) but for a single known embedding.

Request​

Responses​

Returns the embedding