v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-275867561.6 MB
directories

Get directory contents

Resolves the flattened file tree for an agent or skill repository at a specific commit, tag, or latest.

get/v1/platform/hub/repos/{owner}/{repo}/directories

Path parameters

ownerstring required

Repository owner handle or '-' for current tenant

repostring required

Repository handle

Query parameters

commitstring

Commit hash/tag to resolve (defaults to latest)

Response

OK

commit_hashstring
commit_idstring
filesobject