---
title: "Github Glob"
method: POST
path: "/github/glob"
tags: ["Search"]
---

# Github Glob

`POST /github/glob`

Find files matching a glob pattern in a GitHub repository.

## Request body

- GitHubGlobRequest
  - `repository` string, required — Repository in owner/repo format
  - `pattern` string, required — Glob pattern (e.g., '*.py', 'src/**/*.ts')
  - `ref` string — Branch, tag, or commit SHA

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-28** `7e426dce5dda` — 2 info
  - api tag `Search` added
  - api tag `GitHub Search` removed
- **2026-02-19** `c41dcb6ac8f7` — 2 info
  - api tag `GitHub Search` added
  - api tag `GitHub & Tracer` removed
- **2026-02-14** `5b3db391b9ea` — 3 info
  - api tag `GitHub & Tracer` added
  - api tag `github-search` removed
  - api tag `v2-api` removed

[Change history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/github/glob/post.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) · [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nozomio-labs/nia-ai-api/revisions/dbb602a3ef17/schema)
