---
title: "Get My Repos"
method: GET
path: "/v1/github/repos/mine"
tags: ["v1-github"]
---

# Get My Repos

`GET /v1/github/repos/mine`

Get the current user's GitHub repositories.

Requires GitHub connection. Returns both public and private repos
if the 'repo' scope was granted.

Query params:
    per_page: Number of results (default 30, max 100)

## Query parameters

- `per_page` integer

## Response `200`

Successful Response

- GitHubUserReposResponse — Response for GET /v1/github/repos/mine.
  - `repos` object[], required
  - `count` integer, required
  - `github_username` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryardent/apis/fastapi.md) · [All operations](https://skmtc.net/tryardent/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryardent/fastapi/revisions/71b66f68e19c/schema)
