Resumable Query
Resume
- Overall
- Features
- REST API
- SDKs
- Integrations
- Tutorials
- Examples
- Help
Resumable Query
Resume
Resumes a previously started query to fetch additional results.
POST
/
resumable-query-next
curl $UPSTASH_VECTOR_REST_URL/resumable-query-next \
-X POST \
-H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN" \
-d '{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"additionalK": 2
}'
{
"Scores": [
{
"id": "<string>",
"score": 123,
"vector": [
123
],
"sparseVector": [
{
"indices": [
123
],
"values": [
123
]
}
],
"metadata": {},
"data": "<string>"
}
]
}
Request
The unique identifier returned from the start resumable query request.
The number of additional results to fetch.
Response
The id of the vector.
The similarity score of the vector, calculated based on the distance metric of your index.
The dense vector value for dense and hybrid indexes.
The metadata of the vector, if any.
The unstructured data of the vector, if any.
curl $UPSTASH_VECTOR_REST_URL/resumable-query-next \
-X POST \
-H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN" \
-d '{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"additionalK": 2
}'
Was this page helpful?
curl $UPSTASH_VECTOR_REST_URL/resumable-query-next \
-X POST \
-H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN" \
-d '{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"additionalK": 2
}'
{
"Scores": [
{
"id": "<string>",
"score": 123,
"vector": [
123
],
"sparseVector": [
{
"indices": [
123
],
"values": [
123
]
}
],
"metadata": {},
"data": "<string>"
}
]
}