---
title: "SDK: github"
description: "The github methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types."
---

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

# SDK: github

{/* Generated by apps/docs/scripts/generate.mjs (SDK pages from the TypeScript types in packages/sdk). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

The `github` area has 3 methods on the client. Each takes one object of path, query and body arguments and an optional `CallOptions`, and returns a promise of the response body. A refused call rejects with `OverlaneApiError` (see the [SDK index](/sdk/)).

## githubInstallations

GitHub App installations connected to the team, and requests waiting for an organization owner

- Request: `GET` on `/v1/tenants/{tenantId}/github/installations`

```ts
githubInstallations(args: { tenantId: string }, options?: CallOptions): Promise<Record<string, unknown>>
```

## githubInstallLink

A one-time link to the GitHub App's install page for the caller, which opens on any device and expires after 15 minutes

- Request: `POST` on `/v1/tenants/{tenantId}/github/install-link`

```ts
githubInstallLink(args: { tenantId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<GithubInstallLink>
```

## githubRepositories

Repositories a connected GitHub App installation reaches

- Request: `GET` on `/v1/tenants/{tenantId}/github/installations/{installationId}/repositories`

```ts
githubRepositories(args: { tenantId: string; installationId: string }, options?: CallOptions): Promise<Record<string, unknown>>
```

Source: https://docs.overlane.app/sdk/github/index.mdx
