Skip to main content
GET
Source file/dir/size counts

Authorizations

Authorization
string
header
required

Session token from POST /auth/login, sent as Authorization: Bearer <token>.

Headers

X-Pinecone-Api-Version
string
default:2026-07

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.

Path Parameters

slug
string
required

Context slug or UUID.

Response

Counts

Source-tree counts, plus the caps and the usage against them where source limits apply.

file_count
integer<int64>
required

Files in the tree.

dir_count
integer<int64>
required

Directories in the tree. Counts the ancestor prefixes of the stored objects, so a store with no standalone directories still reports one per level that holds a file.

total_size
integer<int64>
required

Summed byte size of every file.

max_files_per_context
integer<int64>

Upper bound on how many source objects may be staged.

max_bytes_per_context
integer<int64>

Total-byte cap for this context.

max_bytes_per_file
integer<int64>

Upper bound on one stored object.

used_files
integer<int64>

Files counted against max_files_per_context.

used_bytes
integer<int64>

Bytes counted against max_bytes_per_context.