Skip to contents

Constructs URLs for Pinecone's data plane API using the index host. This is used for vector operations (query, upsert, fetch, delete).

Usage

get_data_plane_url(host, set_path = NA)

Arguments

host

The index host (e.g., "index-name-abc123.svc.region.pinecone.io")

set_path

API path (e.g., "query", "vectors/upsert")

Value

Full URL string for the data plane API

Examples

if (FALSE) { # \dontrun{
get_data_plane_url("my-index-abc123.svc.us-east-1.pinecone.io", "query")
} # }