Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Import source documents from a project connector

Pull source documents from a linked project connector (Box, ...) into the context. Supply either folder or files. Stages the source only — curate explicitly before querying.

POST /contexts/{slug}/import

  • slug (path, string, required) — Context slug or UUID.
  • X-Pinecone-Api-Version (header, string) — Date-based contract version, echoed back on the same header. Omit for the default (2026-07); send unstable for the in-development surface. An unrecognized value is rejected with 400 unsupported_api_version.
  • connector_id (body, string, required) — The linked connector to import from.
  • folder (body, string) — Connector folder id to import
  • files (body, string[]) — Connector file ids to import
  • item_type (body, string) — Whether folder or files selects the sources.
  • path (body, string) — Subdirectory under the source tree (default uploads)
  • 200 — Import accepted (state: importing)
  • 400 — Invalid request
  • 404 — Context or connector not found
  • 409 — Context is optimizing, or an import is already in flight
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu