> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runtm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation Repos

> List repos for a specific GitHub App installation.

Returns repositories accessible to a specific GitHub App installation with pagination. If the installation no longer exists on GitHub, the stale record is automatically removed.

**Required scope:** `integrations:read`

**installation\_id** `string` *required*

Internal installation ID (not GitHub's installation ID).

**page** `integer` (default: 1)

Page number. Starts at 1.

**per\_page** `integer` (default: 30)

Number of repos per page. Range: 1–100.

**repos** `RepoInfo[]` *required*

List of repositories.

**total\_count** `integer` *required*

Total number of repos in this installation.

**page** `integer` *required*

Current page number.

**per\_page** `integer` *required*

Results per page.

**has\_next** `boolean` *required*

Whether there are more pages.

```bash cURL theme={null}
curl "https://app.runtm.com/api/github-app/installations/inst_01J.../repos?page=1&per_page=30" \
  -H "Authorization: Bearer runtm_xxx"
```

```python Python theme={null}
import requests

installation_id = "inst_01J..."

resp = requests.get(
    f"https://app.runtm.com/api/github-app/installations/{installation_id}/repos",
    params={"page": 1, "per_page": 30},
    headers={"Authorization": "Bearer runtm_xxx"},
)
print(resp.json())
```

```javascript JavaScript theme={null}
const installationId = "inst_01J...";

const resp = await fetch(
  `https://app.runtm.com/api/github-app/installations/${installationId}/repos?page=1&per_page=30`,
  {
    headers: {
      Authorization: "Bearer runtm_xxx",
    },
  }
);
const data = await resp.json();
```

```json 200 theme={null}
{
  "repos": [
    {
      "id": 987654,
      "name": "backend",
      "full_name": "acme-corp/backend",
      "private": true,
      "description": "Main backend API",
      "default_branch": "main",
      "html_url": "https://github.com/acme-corp/backend",
      "language": "Python",
      "updated_at": "2026-05-09T12:00:00Z",
      "size": 15400
    }
  ],
  "total_count": 12,
  "page": 1,
  "per_page": 30,
  "has_next": false
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.