Back to GitHub

Connect Knoon AI with GitHub to automate AI workflows.

Get repository file or directory content by path.
githubDefaultGetRepositoryContent
BETA
Internal
Permissions
  • repo
Optional permissions
There are no items to display.
Parameters
NameTypeDescriptionRequired
repositoryfile GitHub repository in owner/repo format.Yes
pathmustache Optional file or directory path. Empty means repository root.No
refmustache Optional branch, tag, or commit SHA.No
includeContentboolean Optional. If true and path is a file, include content.No
Returns
NameTypeDescription
resultobject Repository content summary.