OptionalcmekThe ID of a customer-managed encryption key (CMEK) to use for this index. Requires CMEK to be enabled for your organization. Encrypted indexes cannot have full_text_search fields: a request that sets cmek_id and declares one is rejected, and a project that enforces CMEK rejects any schema with a full_text_search field with 412.
OptionaldeletionWhether to enable deletion protection. Defaults to disabled.
OptionaldeploymentLegacy and schema-based options cannot be combined.
OptionaldimensionOptionalmetricThe name of the index to create. Must be unique within the project.
OptionalreadRead capacity overrides the capacity provided in spec.
OptionalschemaLegacy and schema-based options cannot be combined.
OptionalsuppressWhen true, returns undefined instead of throwing if an index with this
name already exists. Otherwise creation always returns an index model,
regardless of waitUntilReady.
OptionaltagsCustom 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.
OptionaltimeoutMaximum time in milliseconds to wait for the index to become ready when
waitUntilReady is true. Omit to poll indefinitely.
Throws Errors.PineconeTimeoutError if the deadline is exceeded.
OptionalvectorOptionalwaitWhen true, polls until the index is ready before returning.
Deprecated
Use
schemaanddeploymentfor new code.