# allyhub auth status

> Whether this computer is signed in to AllyHub, as whom, and the account's credits; exits 4 when it is not

Source: https://allyhub.com/docs/reference/cli/auth-status · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub auth status
```

## Global options

`--json`: print the result as JSON.

## Output

With `--json`, the command prints an object with these fields:

| Field | Type | What it is |
| --- | --- | --- |
| `signedIn` | boolean |  |
| `source` | `env`, `oauth` |  |
| `organization` | string |  |
| `organizationName` | string |  |
| `email` | string |  |
| `url` | string |  |
| `credits` | number |  |

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**setup**: This computer, the account and AllyHub's skills

[`skills`](https://allyhub.com/docs/reference/cli/skills.md) → [`skills show`](https://allyhub.com/docs/reference/cli/skills-show.md) → [`auth login`](https://allyhub.com/docs/reference/cli/auth-login.md) → `auth status` → [`orgs list`](https://allyhub.com/docs/reference/cli/orgs-list.md) → [`orgs use`](https://allyhub.com/docs/reference/cli/orgs-use.md) → [`doctor`](https://allyhub.com/docs/reference/cli/doctor.md) → [`doctor extensions`](https://allyhub.com/docs/reference/cli/doctor-extensions.md)
