cURL
curl --request POST \ --url https://apigcp.trynia.ai/v2/github/glob \ --header 'Content-Type: application/json' \ --data ' { "repository": "<string>", "pattern": "<string>", "ref": "HEAD" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Find files matching a glob pattern in a GitHub repository.
Repository in owner/repo format
Glob pattern (e.g., '.py', 'src/**/.ts')
Branch, tag, or commit SHA
Successful Response
Was this page helpful?