Options
Branch name or commit SHA. Defaults to the default branch.
When
true, resolves the ref under the ephemeral namespace.Repository-relative file or subtree to list. An exact file path returns one metadata entry.
Accepted for symmetry with
listFiles; metadata listings are always recursive.Pagination cursor from a previous response.
Maximum files to return.
Time-to-live in seconds for the JWT used in the request.
Response
One entry per file in the tree at the resolved ref.
A map of commit SHA → commit metadata. Each SHA referenced by
files[].lastCommitSha has exactly one entry here. The map is deduplicated — if many files share the same last-touching commit, that commit appears once.The ref the server resolved and used, regardless of what was passed in options.
Cursor for the next page. Python:
next_cursor; Go: NextCursor.Whether additional pages are available. Python:
has_more; Go: HasMore.