Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Source file/dir/size counts

Aggregate counts. Where source limits apply, five more fields carry the caps and usage against them (max_files_per_context, max_bytes_per_context, max_bytes_per_file, used_files, used_bytes); they are absent otherwise.

GET /contexts/{slug}/source/stats

  • 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.
  • 200 — Counts
  • 404 — Not found
Suggest an edit

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

Export
Documentation menu