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
Parameters
Section titled “Parameters”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); sendunstablefor the in-development surface. An unrecognized value is rejected with400 unsupported_api_version.
Responses
Section titled “Responses”200— Counts404— Not found