describe_index
describe_index
operation uses a different API (api.pinecone.io
) than data plane operations such as upsert
and query
. In production, you should therefore not rely on describe_index
to programmatically get an index endpoint for data manipulation operations. Instead, you should get an index endpoint once and cache it for reuse or specify the endpoint directly.describe_index
operation returns the index endpoint as the host
value: