Skip to main content
GET
/
github
/
tree
/
{owner}
/
{repo}
Github Tree
curl --request GET \
  --url https://apigcp.trynia.ai/v2/github/tree/{owner}/{repo} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.trynia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

owner
string
required
repo
string
required

Query Parameters

ref
string
default:HEAD

Branch, tag, or commit SHA

path
string | null

Subdirectory path

Response

Successful Response