Skip to main content
GET
Get Index

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique ID of the index to fetch

Response

200 - application/json

Index retrieved successfully

customer_id
string

The associated ID of the owner of the index

Example:

"example@upstash.com"

id
string

Unique ID of the index

Example:

"0639864f-ece6-429c-8118-86a287b0e808"

name
string

The name of the index

Example:

"myindex"

similarity_function
enum<string>

Similarity function that's used to calculate the distance between two vectors

Available options:
COSINE,
EUCLIDEAN,
DOT_PRODUCT
Example:

"COSINE"

dimension_count
number

The amount of values in a single vector

Example:

384

embedding_model
enum<string>

The predefined embedding model to vectorize your plain text

Available options:
BGE_SMALL_EN_V1_5,
BGE_BASE_EN_V1_5,
BGE_LARGE_EN_V1_5,
BGE_M3
Example:

"BGE_SMALL_EN_V1_5"

sparse_embedding_model
enum<string>

The sparse embedding model to be used for indexes

Available options:
BM25,
BGE_M3
Example:

"BM25"

endpoint
string

The REST endpoint of the index

Example:

"glowing-baboon-15797-us1"

token
string

The REST authentication token for the index

Example:

"QkZGAsWp2tdW0tdC0zNzM1LWV1MkFkNQzB1ExUb3hOekF0TVRJbFpMDNLVSm1GZw=="

read_only_token
string

The REST authentication read only token for the index

Example:

"QkZGRk1heGSKC0MtdRlZC0zNzM1LWTj3pAV0Wm1aZ01p05qY3RNR0U0TkRtRt2s9azJU"

type
enum<string>

The payment plan of the index

Available options:
free,
payg,
fixed
Example:

"fixed"

region
enum<string>

The region where the index is currently deployed

Available options:
eu-west-1,
us-east-1,
us-central1
Example:

"us-east-1"

max_vector_count
number

The number of maximum that your index can contain

Example:

5210000

max_daily_updates
number

The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.

Example:

1000000

max_daily_queries
number

The number of maximum query operations you can perform in a day. Only query operations are included in query count.

Example:

1000000

max_monthly_bandwidth
number

The maximum amount of monthly bandwidth for the index. Unit is bytes. -1 if the limit is unlimited.

Example:

-1

max_writes_per_second
number

The number of maximum write operations you can perform per second. Only upsert operations are included in write count.

Example:

1000

max_query_per_second
number

The number of maximum query operations you can perform per second. Only query operations are included in query count.

Example:

1000

max_reads_per_request
number

The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.

Example:

1000

max_writes_per_request
number

The number of maximum vectors in a write operation. Only upsert operations are included in write operations.

Example:

1000

max_total_metadata_size
number

The amount of maximum size for the total metadata sizes in your index.

Example:

53687091200

reserved_price
number

Monthly pricing of your index. Only available for fixed and pro plans.

Example:

60

creation_time
number

The creation time of the vector index in UTC as unix timestamp.

Example:

1753207106

index_type
enum<string>

The type of the vector index

Available options:
DENSE,
SPARSE,
HYBRID
Example:

"DENSE"

throughput_vector
object[]

Throughput data for the vector index over time

Example: