Pinecone
connector.pinecone · ai, database
Upsert, query, fetch and delete vectors in Pinecone indexes, search integrated-embedding indexes, and embed or rerank with Pinecone Inference.
Vendor API documentation: https://docs.pinecone.io/reference/api/introduction
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | pinecone/api_key | api_key | api_key (secret) | yes |
Actions
Node type connector.pinecone. Choose a resource and an operation; each operation has its own parameters.
Vector
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upsert vectors | vector.upsert | writes | 3 | |
| Query | vector.query | reads | 2 | |
| Fetch by ID | vector.fetch | reads | 1 | |
| Fetch by metadata | vector.fetch_by_metadata | reads | yes | 1 |
| Update | vector.update | writes | 2 | |
| Delete | vector.delete | writes | 2 | |
| List record IDs | vector.list_ids | reads | yes | 1 |
Upsert vectors
Operation vector.upsert. Writes one record per input item, or a batch from a JSON array. Existing ids are overwritten.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
mode | options | "single" | Input. One of single, batch. | ||
id | string | yes | mode = single | ID. | |
values | json | mode = single | Dense vector as a JSON array of numbers. | ||
sparse_values | json | mode = single | {indices: […], values: […]}. | ||
metadata | json | mode = single | |||
vectors | json | yes | mode = batch | Records. Up to 1000 {id, values, sparseValues, metadata} objects (2 MB max). |
Query
Operation vector.query. Nearest-neighbour search by vector or by the vector of an existing record. One item per match.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
top_k | number | 10 | yes | Top K. | |
query_by | options | "vector" | One of vector, id. | ||
vector | json | yes | query_by = vector | ||
sparse_vector | json | query_by = vector | {indices, values} for hybrid or sparse indexes. | ||
id | string | yes | query_by = id | Record ID. | |
filter | json | Metadata filter. | |||
include_metadata | boolean | true | |||
include_values | boolean | false |
Fetch by ID
Operation vector.fetch.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
ids | string | yes | IDs. Comma-separated record ids (up to 1000). |
Fetch by metadata
Operation vector.fetch_by_metadata.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
filter | json | yes | Metadata filter. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Update
Operation vector.update. Update one record by id, or set metadata on every record matching a filter.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
target | options | "id" | Update. One of id, filter. | ||
id | string | yes | target = id | ID. | |
values | json | target = id | New values. | ||
sparse_values | json | target = id | New sparse values. | ||
filter | json | yes | target = filter | Metadata filter. | |
set_metadata | json | Fields to add or overwrite. | |||
dry_run | boolean | false | target = filter | Dry run (count matches only). |
Delete
Operation vector.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
target | options | "ids" | Delete. One of ids, filter, all. | ||
ids | string | yes | target = ids | IDs. Comma-separated (up to 1000). | |
filter | json | yes | target = filter | Metadata filter. |
List record IDs
Operation vector.list_ids. Serverless indexes only. One item per id.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
prefix | string | ID prefix. | |||
return_all | boolean | false | |||
limit | number | 100 | return_all = false |
Record (integrated embedding)
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Search with text | record.search | reads | 1 |
Search with text
Operation record.search. Semantic search on an index with integrated embedding; Pinecone embeds the query text. One item per hit.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "__default__" | yes | Depends on index_host. Values from lookup namespaces. | |
text | string | yes | Query text. | ||
top_k | number | 10 | yes | Top K. | |
filter | json | Metadata filter. | |||
fields | string | Fields to return. Comma-separated; empty returns all. | |||
rerank_model | resource_locator | Rerank with model. Values from lookup rerank_models. | |||
rank_fields | string | "text" | Rerank fields. Comma-separated record fields the reranker reads. | ||
rerank_top_n | number | Rerank top N. |
Index
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get index statistics | index.describe_stats | reads | 1 | |
| List indexes | index.list | reads | 1 | |
| Describe an index | index.describe | reads | 2 |
Get index statistics
Operation index.describe_stats.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
filter | json | Metadata filter. Pod-based indexes only. |
List indexes
Operation index.list.
This node has no parameters.
Describe an index
Operation index.describe.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_name | resource_locator | yes | Index. Values from lookup index_names. |
Namespace
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List namespaces | namespace.list | reads | yes | 1 |
| Describe a namespace | namespace.describe | reads | 1 | |
| Delete a namespace | namespace.delete | writes | 1 |
List namespaces
Operation namespace.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
prefix | string | Name prefix. | |||
return_all | boolean | false | |||
limit | number | 100 | return_all = false |
Describe a namespace
Operation namespace.describe.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | yes | Depends on index_host. Values from lookup namespaces. |
Delete a namespace
Operation namespace.delete. Permanently deletes the namespace and all its records (serverless indexes).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | yes | Depends on index_host. Values from lookup namespaces. |
Inference
Hosted embedding and reranking models.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create embeddings | inference.embed | reads | 2 | |
| Rerank documents | inference.rerank | reads | 1 |
Create embeddings
Operation inference.embed.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "llama-text-embed-v2" | yes | Values from lookup embed_models. | |
input_type | options | "passage" | One of passage, query. | ||
input_mode | options | "single" | Input. One of single, batch. | ||
text | string | yes | input_mode = single | ||
inputs | json | yes | input_mode = batch | JSON array of {“text”: “…”} objects (up to the model’s batch size). | |
dimension | number | For models with selectable dimensions. | |||
truncate | options | "END" | One of END, NONE. |
Rerank documents
Operation inference.rerank.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "bge-reranker-v2-m3" | yes | Values from lookup rerank_models. | |
query | string | yes | |||
documents | json | yes | JSON array of strings, or of objects with the fields to rank on. | ||
rank_fields | string | "text" | Comma-separated (objects only). | ||
top_n | number | Top N. | |||
return_documents | boolean | true |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
indexes | client-side | {{ item.spec.serverless.cloud ~ ’ ’ ~ item.spec.serverless.region if item.spec.serverless else (item.deployment.deployment_type or ‘’) }} | |
index_names | client-side | ||
namespaces | index_host | client-side | |
embed_models | client-side | {{ item.short_description }} | |
rerank_models | client-side | {{ item.short_description }} |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://docs.pinecone.io/reference/api/introduction
- https://docs.pinecone.io/reference/api/versioning
- https://docs.pinecone.io/reference/api/latest/data-plane/query
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/db_data_2026-07.oas.yaml
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/db_control_2026-07.oas.yaml
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/inference_2026-07.oas.yaml
- https://docs.pinecone.io/guides/manage-data/delete-data
- https://docs.pinecone.io/guides/manage-data/fetch-data