List the source file tree under a path
One directory of the source tree.
GET /contexts/{slug}/source/list/{path}
Parameters
Section titled “Parameters”slug(path, string, required) — Context slug or UUID.path(path, string, required) — Relative path within the tree. Matches greedily, so it may contain/.offset(query, integer) — Where the page starts. Source and knowledge listings echo it rather than applying it, since they return the whole directory in one page.limit(query, integer) — Maximum entries in the page. Source and knowledge listings echo it rather than applying it, since they return the whole directory in one page.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— Directory listing404— Not found