Retrieval
Search semantically
Retrieve the nearest indexed content from text, image or combined queries.
Query modes
Text queries encode a string. Image queries encode an image reference. Multimodal queries combine both signals when the embedding model supports them.
In Try Retrieval, select a database and open the Retrieval tab. Enter a query or a supported image URL, set Top K and select Run retrieval to inspect the results.
Read the result
Each hit includes the document id, similarity score, original content and stored metadata. Use top_k to bound the returned set.
API example
Set QDIV0_DATABASE_ID and search documents that have already been indexed.
Set QDIV0_USER_API_KEY to a personal uk_ key. The default account is used; for another account you belong to, add its identifier in the X-Account-ID header.
1curl --fail-with-body \
2 --request POST \
3 "https://api.qdiv0.com/v1/flexible-vector-databases/$QDIV0_DATABASE_ID/search" \
4 -H "Authorization: Bearer $QDIV0_USER_API_KEY" \
5 -H "Content-Type: application/json" \
6 --data '{"query":"How do returns work?","top_k":3}'