Vectorize
VectorizeIndexes
List Vectorize Indexes
client.vectorize.indexes.list(IndexListParams { account_id } params, RequestOptionsoptions?): SinglePage<CreateIndex { config, created_on, description, 2 more } >
GET/accounts/{account_id}/vectorize/v2/indexes
Get Vectorize Index
client.vectorize.indexes.get(stringindexName, IndexGetParams { account_id } params, RequestOptionsoptions?): CreateIndex { config, created_on, description, 2 more } | null
GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}
Create Vectorize Index
client.vectorize.indexes.create(IndexCreateParams { account_id, config, name, description } params, RequestOptionsoptions?): CreateIndex { config, created_on, description, 2 more } | null
POST/accounts/{account_id}/vectorize/v2/indexes
Delete Vectorize Index
client.vectorize.indexes.delete(stringindexName, IndexDeleteParams { account_id } params, RequestOptionsoptions?): IndexDeleteResponse | null
DELETE/accounts/{account_id}/vectorize/v2/indexes/{index_name}
Insert Vectors
client.vectorize.indexes.insert(stringindexName, IndexInsertParams { account_id, body, unparsableBehavior } params, RequestOptionsoptions?): IndexInsertResponse { mutationId } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/insert
Query Vectors
client.vectorize.indexes.query(stringindexName, IndexQueryParams { account_id, vector, filter, 3 more } params, RequestOptionsoptions?): IndexQueryResponse { count, matches } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/query
Upsert Vectors
client.vectorize.indexes.upsert(stringindexName, IndexUpsertParams { account_id, body, unparsableBehavior } params, RequestOptionsoptions?): IndexUpsertResponse { mutationId } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/upsert
Delete Vectors By Identifier
client.vectorize.indexes.deleteByIds(stringindexName, IndexDeleteByIDsParams { account_id, ids } params, RequestOptionsoptions?): IndexDeleteByIDsResponse { mutationId } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/delete_by_ids
Get Vectors By Identifier
client.vectorize.indexes.getByIds(stringindexName, IndexGetByIDsParams { account_id, ids } params, RequestOptionsoptions?): IndexGetByIDsResponse | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/get_by_ids
Get Vectorize Index Info
client.vectorize.indexes.info(stringindexName, IndexInfoParams { account_id } params, RequestOptionsoptions?): IndexInfoResponse { dimensions, processedUpToDatetime, processedUpToMutation, vectorCount } | null
GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}/info
List Vectors
client.vectorize.indexes.listVectors(stringindexName, IndexListVectorsParams { account_id, count, cursor } params, RequestOptionsoptions?): IndexListVectorsResponse { count, isTruncated, totalCount, 3 more } | null
GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}/list
VectorizeIndexesMetadata Index
List Metadata Indexes
client.vectorize.indexes.metadataIndex.list(stringindexName, MetadataIndexListParams { account_id } params, RequestOptionsoptions?): MetadataIndexListResponse { metadataIndexes } | null
GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/list
Create Metadata Index
client.vectorize.indexes.metadataIndex.create(stringindexName, MetadataIndexCreateParams { account_id, indexType, propertyName } params, RequestOptionsoptions?): MetadataIndexCreateResponse { mutationId } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/create
Delete Metadata Index
client.vectorize.indexes.metadataIndex.delete(stringindexName, MetadataIndexDeleteParams { account_id, propertyName } params, RequestOptionsoptions?): MetadataIndexDeleteResponse { mutationId } | null
POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/delete