Pinecone TypeScript SDK - v9.0.0
    Preparing search index...

    Interface IndexModel

    An index response with non-enumerable legacy compatibility accessors.

    interface IndexModel {
        cmekId?: string;
        deletionProtection: string & {} | DeletionProtection;
        deployment: IndexDeployment;
        dimension?: number;
        embed?: LegacyIndexEmbed;
        host: string;
        metric: string;
        name: string;
        privateHost?: string;
        readCapacity?: ReadCapacityResponse;
        schema: IndexSchema;
        sourceBackupId?: string;
        sourceCollection?: string;
        spec: LegacyIndexSpec;
        status: IndexModelStatus;
        tags?: { [key: string]: string } | null;
        vectorType: "dense" | "sparse";
    }

    Hierarchy (View Summary)

    Index
    cmekId?: string

    The ID of the customer-managed encryption key (CMEK) used to encrypt this index, if any.

    IndexModel

    deletionProtection: string & {} | DeletionProtection

    Whether deletion protection is enabled for the index.

    deployment: IndexDeployment

    IndexModel

    dimension?: number

    Read the dimension on the relevant schema field.

    Read the semantic_text schema field.

    host: string

    The URL address where the index is hosted.

    IndexModel

    metric: string

    Read the metric on the relevant schema field.

    name: string

    The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.

    IndexModel

    privateHost?: string

    The private endpoint URL of an index.

    IndexModel

    readCapacity?: ReadCapacityResponse

    The read capacity configuration of the index.

    schema: IndexSchema

    The typed fields stored in each document.

    sourceBackupId?: string

    The ID of the backup this index was restored from, if any.

    IndexModel

    sourceCollection?: string

    The name of the collection this index was created from, if any.

    IndexModel

    Read deployment and readCapacity.

    The current status of the index.

    tags?: { [key: string]: string } | null

    Custom user tags added to an index, at most 20 per index. Keys must be 80 characters or less and alphanumeric, '_', or '-'. Values must be 120 characters or less and consist of printable ASCII characters or spaces. To unset a key, set the value to be an empty string. null in responses when the index has no tags.

    IndexModel

    vectorType: "dense" | "sparse"

    Inspect the types of the schema fields.