Graphrt

Pinecone

Indexes, stats, namespaces, query/fetch/list vectors, document search on validated *.pinecone.io index hosts, agent upserts need an opt-in, deletes are node only

Beta v0.1.0 Node.js 21 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the Pinecone vector database, API version 2026-07 (sent as X-Pinecone-Api-Version). It lists and describes indexes on the control plane (api.pinecone.io), and queries, fetches, lists, upserts and updates vectors and documents on each index's own data-plane host. It is built with the declarative REST layer (definition.mjs).

What it can do

  • Indexes (control plane): list_indexes, describe_index, delete_index (node only)
  • Stats and namespaces: describe_index_stats, list_namespaces, delete_namespace (node only)
  • Vectors: query_vectors (by vector or stored id, metadata filter), fetch_vectors, fetch_vectors_by_metadata, list_vector_ids (serverless), upsert_vectors, update_vectors (by id, or metadata by filter, with dry_run), delete_vectors (node only)
  • Documents (document indexes): search_documents (score_by dense, sparse, text, query string or Pinecone-embedded text), fetch_documents, list_documents, upsert_documents, update_documents, delete_documents (node only)
  • Legacy integrated indexes: search_records (Pinecone embeds query_text, optional rerank)
  • api_request: other control-plane endpoints, e.g. /indexes/<index_name>/backups (agents: GET only, on an allowlist)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • List indexes pinecone.list_indexes
  • Describe index pinecone.describe_index
  • Delete index pinecone.delete_index
  • Describe index stats pinecone.describe_index_stats
  • List namespaces pinecone.list_namespaces
  • Delete namespace pinecone.delete_namespace
  • Query vectors pinecone.query_vectors
  • Fetch vectors pinecone.fetch_vectors
  • Fetch vectors by metadata pinecone.fetch_vectors_by_metadata
  • List vector ids pinecone.list_vector_ids
Show all 21 actions
  • Upsert vectors pinecone.upsert_vectors
  • Update vectors pinecone.update_vectors
  • Delete vectors pinecone.delete_vectors
  • Search documents pinecone.search_documents
  • Fetch documents pinecone.fetch_documents
  • List documents pinecone.list_documents
  • Upsert documents pinecone.upsert_documents
  • Update documents pinecone.update_documents
  • Delete documents pinecone.delete_documents
  • Search records (integrated index) pinecone.search_records
  • Pinecone control plane API request pinecone.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • PINECONE_API_KEY Required
    Project API key (Api-Key header)
  • PINECONE_INDEX_HOST For data-plane operations
    Default index host, e.g. docs-example-a1b2c3d.svc.aped-4627-b74a.pinecone.io (host from describe_index). Every data-plane operation also takes index_host to override it per call.
  • PINECONE_TOOL_ALLOW_WRITES Optional
    1 lets agent tools upsert and update vectors and documents
  • PINECONE_TOOL_API_EXTRA_PATHS Optional
    More GET paths for agent api_request, comma-separated, * = one segment

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Pinecone.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install pinecone
workflow.yaml
- id: matches
  type: pinecone.query_vectors
  index_host: my-index-abc123.svc.aped-4627-b74a.pinecone.io
  namespace: articles
  vector: "{{#embed.data.embedding#}}"
  top_k: 5
  filter: { lang: { $eq: "id" } }
- id: hybrid
  type: pinecone.search_documents
  namespace: articles
  top_k: 10
  score_by: [{ type: embed, fields: [content], query: "hujan deras di Jakarta" }]
  include_fields: [title, url]
Plugins in the docs