# dflow auth:status

> Show whether the current login is accepted, without printing the secret.

Web page: /docs/cli/account/auth-status/

This asks the API whether the saved login is still accepted. It prints `logged in` or `logged out`. It does not print the token.

```bash
dflow auth:status
```

## Flags

This command adds no flags of its own. `--output`, `--api`, and `--context` still apply.

## What you see

The terminal prints `status` is `logged in` or `logged out`. `server` is the API URL. A user login includes `email` and `credential_kind` `user`. An API token includes `credential_kind` `api_token` and omits `email`. `token` is `present` or `absent`. Exit 0 when the API accepts the login.

## When it fails

Exit 2 when no login is stored or the API rejects it. Exit 10 when the API cannot be reached.
