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

# Installation

## Example Usage

```typescript theme={null}
import { Installation } from "@openrouter/sdk/models";

let value: Installation = {
  account: "79325006",
  accountType: "organization",
  coverage: {
    checkedAt: new Date("2024-07-28T01:53:50.306Z"),
    repositoryCount: 283955,
    selection: "all",
  },
  credentialId: "<id>",
  holdsToken: false,
  isEnabled: true,
  isOffForIntern: false,
  shadowedBy: "installation",
};
```

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `account` | *string* | ✔️ | The account the App is installed on, as GitHub spells it. |
| `accountType` | [models.AccountType](../models/accounttype.mdx) | ✔️ | N/A |
| `coverage` | [models.Coverage](../models/coverage.mdx) | ✔️ | What GitHub says the installation covers; null until read. |
| `credentialId` | *string* | ✔️ | N/A |
| `holdsToken` | *boolean* | ✔️ | Whether the vault holds a current installation token to inject. |
| `isEnabled` | *boolean* | ✔️ | N/A |
| `isOffForIntern` | *boolean* | ✔️ | The workspace turned this shared installation off or hid it for this intern. |
| `shadowedBy` | [models.ShadowedBy](../models/shadowedby.mdx) | ✔️ | What egress uses instead of this installation for a request to its account: an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. |
