Skip to content

Insert Records

Pinecone

Pinecone

Insert Records

Insert text-based records into a Pinecone namespace. Each record has _id and chunk_text (embedded by Pinecone); other fields are stored as metadata. Uses Pinecone's upsert endpoint (existing IDs will be updated). Requires an index with integrated embedding.

ActionAI Tool

Inputs

Name Type Required Description
namespacetextRequiredNamespace to insert into (required).
recordsarray of dynamic objectRequiredArray of records. Each has _id (string), chunk_text (string), and optional metadata (string: stringified JSON or plain text).

Outputs

Name Type Description
statusCodenumberHTTP status code (200 on success)