JavaScript: getIndex

Retrieves metadata for a specific index in this bucket Convenience method that automatically includes the bucket name

Public alpha: This API is part of a public alpha release and may not be available to your account type.

Parameters

Examples

Get index metadata

const bucket = supabase.storage.vectors.from('embeddings-prod')
const { data } = await bucket.getIndex('documents-openai')
console.log('Dimension:', data?.index.dimension)