Skip to content

Client

Client · Type

What a script holds for mash.pinecone.client. The library’s connector (sender, config, middleware, requests) stays inside; the destination guard is on its sender before it gets here.

client.control() → ControlResource

The control plane: indexes and collections.

client.data() → DataResource

The data plane: the vectors in the index this client points at.

client.setIndexHost(indexHost: string) → Client

Point the client at an index host (the address Pinecone gives the index). Returns the client.