# List unclaimed installations (/api/identity/list-unclaimed-installations)

`GET /api/orgs/unclaimed-installations`

StarSling installations on your GitHub orgs that no Organization owns yet, because the install was never followed by the billing sign-in that claims it. An org admin claims one at /billing?from=installed&installation_id=<id>.

Base URL: `https://runners.starsling.dev`

## Authentication

Requires a bearer token (`Authorization: Bearer`).

## Parameters

| Name | In | Type | Required | Notes |
| --- | --- | --- | --- | --- |
| `after` | query | string | no | The previous page's `next_after`: continue discovery after this GitHub account id. |

## Responses

| Status | Description |
| --- | --- |
| `200` | The StarSling installations on your GitHub orgs that no Organization owns yet. An org admin claims one at `/billing?from=installed&installation_id=<id>`. |
| `401` | `UNAUTHENTICATED`: no credential, or an expired one — run `sling login`. `GITHUB_REAUTH_REQUIRED`: signed in, but the stored GitHub sign-in cannot read org membership — sign out of StarSling in the browser and sign in with GitHub again; `message` says why. |
| `403` | An API key without the `orgs:read` scope. Session callers are unscoped and never see this. |
| `500` | The request was valid; the control plane or a dependency it calls failed. |

### `200` body

- `installations` — array<object>, required
  - array of object
    - `installation_id` — integer, required. e.g. `12345678`
    - `org_login` — string, required. e.g. `acme`
    - `caller_role` — string. `admin`, `member`
- `next_after` — string. Immutable GitHub account-id cursor for the next bounded discovery page.
- `checks_failed` — boolean. True when a GitHub check failed on this page, independently of whether more pages remain.
- `complete` — boolean, required. False when you have more GitHub orgs without an Organization than one call checks, or when GitHub could not answer for an org, so `installations` may not list every one.

### Example

```json
{
  "installations": [
    {
      "installation_id": 12345678,
      "org_login": "acme"
    }
  ],
  "complete": true
}
```