# Pinecone

Pinecone vector DB: indexes, collections, upsert, query, fetch, delete. Exposes **21 actions** covering the API surface an agent needs - read and write.

## What it can do

| Method | What it does |
| --- | --- |
| `pinecone_indexes_list` | List all indexes in project - GET /indexes. |
| `pinecone_index_describe` | Describe an index - GET /indexes/&#123;index_name&#125;. |
| `pinecone_index_create` | Create a new index - POST /indexes. |
| `pinecone_index_delete` | Delete an index - DELETE /indexes/&#123;index_name&#125;. |
| `pinecone_index_configure` | Configure an index - PATCH /indexes/&#123;index_name&#125;. |
| `pinecone_index_scale` | Scale an index (pod-based only) - POST /indexes/&#123;index_name&#125;/scale. |
| `pinecone_index_update_metadata` | Update index metadata tags - PATCH /indexes/&#123;index_name&#125;/metadata. |
| `pinecone_collections_list` | List all collections - GET /collections. |
| `pinecone_collection_describe` | Describe a collection - GET /collections/&#123;collection_name&#125;. |
| `pinecone_collection_create` | Create a collection - POST /collections. |
| `pinecone_collection_delete` | Delete a collection - DELETE /collections/&#123;collection_name&#125;. |
| `pinecone_upsert` | Upsert vectors into index - POST /&#123;index_name&#125;/vectors/upsert. |
| `pinecone_query` | Query an index - POST /&#123;index_name&#125;/query. |
| `pinecone_fetch` | Fetch vectors by ID - GET /&#123;index_name&#125;/vectors/fetch. |
| `pinecone_update` | Update a vector - POST /&#123;index_name&#125;/vectors/update. |
| `pinecone_delete` | Delete vectors - DELETE /&#123;index_name&#125;/vectors. |
| `pinecone_list` | List vector IDs in index - GET /&#123;index_name&#125;/vectors/list. |
| `pinecone_describe_stats` | Get index statistics - GET /&#123;index_name&#125;/describe_index_stats. |
| `pinecone_namespaces_list` | List namespaces - GET /&#123;index_name&#125;/namespaces. |
| `pinecone_namespace_upsert` | Upsert vectors to a specific namespace - POST /&#123;index_name&#125;/&#123;namespace&#125;/vectors/upsert. |
| `pinecone_namespace_query` | Query a specific namespace - POST /&#123;index_name&#125;/&#123;namespace&#125;/query. |

## How to get credentials

This connector uses an **API key / token**. Create one in the provider
dashboard, then paste it into FlyMyAI:

- **`PINECONE_API_KEY`** - Pinecone Console - API Keys. (https://app.pinecone.io/)

## Fields to fill in FlyMyAI

| FlyMyAI field | Where it comes from |
| --- | --- |
| `PINECONE_API_KEY` | Pinecone Console - API Keys. |

## Troubleshooting

- **`401 Unauthorized` / `403 Forbidden`** - the token is wrong, expired, or missing a required scope; regenerate it.
- **`429 Too Many Requests`** - provider rate limit; retry after a short backoff.
- **Unexpected `4xx` on writes** - double-check required fields; the agent confirms before write actions.

## Links

- [Pinecone API documentation](https://docs.pinecone.io/reference/api)
