Skip to main content
Upstash Documentation

Get Index

This endpoint returns the data associated to a index.
1 min read
get/vector/index/{id}
Request example
Response
get/vector/index/{id}

Authorization

Authorizationstringheaderrequired#
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded username:password.

Path parameters

idstringrequired#
The unique ID of the index to fetch

Responses

application/json
200
Index retrieved successfully
customer_idstring#
The associated ID of the owner of the index
idstring#
Unique ID of the index
namestring#
The name of the index
similarity_functionenum<string>#
Similarity function that's used to calculate the distance between two vectors
Options:COSINEEUCLIDEANDOT_PRODUCT
dimension_countnumber#
The amount of values in a single vector
embedding_modelenum<string>#
The predefined embedding model to vectorize your plain text
Options:BGE_SMALL_EN_V1_5BGE_BASE_EN_V1_5BGE_LARGE_EN_V1_5BGE_M3
sparse_embedding_modelenum<string>#
The sparse embedding model to be used for indexes
Options:BM25BGE_M3
endpointstring#
The REST endpoint of the index
tokenstring#
The REST authentication token for the index
read_only_tokenstring#
The REST authentication read only token for the index
typeenum<string>#
The payment plan of the index
Options:freepaygfixed
regionenum<string>#
The region where the index is currently deployed
Options:eu-west-1us-east-1us-central1
max_vector_countnumber#
The number of maximum that your index can contain
max_daily_updatesnumber#
The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
max_daily_queriesnumber#
The number of maximum query operations you can perform in a day. Only query operations are included in query count.
max_monthly_bandwidthnumber#
The maximum amount of monthly bandwidth for the index. Unit is bytes. -1 if the limit is unlimited.
max_writes_per_secondnumber#
The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
max_query_per_secondnumber#
The number of maximum query operations you can perform per second. Only query operations are included in query count.
max_reads_per_requestnumber#
The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
max_writes_per_requestnumber#
The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
max_total_metadata_sizenumber#
The amount of maximum size for the total metadata sizes in your index.
reserved_pricenumber#
Monthly pricing of your index. Only available for fixed and pro plans.
creation_timenumber#
The creation time of the vector index in UTC as unix timestamp.
index_typeenum<string>#
The type of the vector index
Options:DENSESPARSEHYBRID
throughput_vectorobject[]#
Throughput data for the vector index over time
Show child attributes
xstringrequired#
Timestamp when measurement was taken
ynumberrequired#
The measured value