# Read your sign-ins

URL: https://heaven.dev/docs/reference/account/sign-in-view
Updated: 2026-11-21

List your active Heaven browser sign-ins and their configured lifetime. The current browser sign-in appears first when it is listed.

`GET /v1/account/?view=sign-in`

## Returns

- `data` (object, always present): Your browser sign-in lifetime and active sessions.
  - `lifetime` (string, always present): Your selected browser sign-in lifetime.
  - `sessions` (object[] | null, always present): Active browser sessions.
    - `items` (object): One browser signed in to this website.
      - `current` (boolean, always present): True for the browser session used for this request.
      - `device` (string, always present): Browser and operating system reported at sign-in. Empty if they were not recognized.
      - `signed_in_at` (string (date-time), always present): When this browser signed in.

## Errors

Each code is explained in full at https://heaven.dev/docs/reference/errors.

| Code | Status | What happened |
|---|---:|---|
| `invalid` | 400 | An input is missing or invalid. |
| `unauthenticated` | 401 | The credential is missing, invalid, expired or revoked. |
| `denied` | 403 | The caller lacks permission for this action. |
| `not_found` | 404 | The resource is absent or inaccessible to this caller. |
| `conflict` | 409 | The request conflicts with the current resource state or an earlier request. |
| `over_capacity` | 409 | The request exceeds a resource or credential allowance. |
| `access_list_full` | 409 | The change would exceed the access-list allowance. |
| `rate_limited` | 429 | The caller's request rate exceeds its limit. |
| `busy` | 429 | Too much work is in progress to accept this request. |
| `unknown` | 503 | The outcome is unconfirmed; a change may have happened. |
| `unavailable` | 503 | The service or requested feature is unavailable. |

## Notes

- API key permission: `sign-in view`.

## Examples

```sh tab="heaven CLI"
heaven sign-in view
```

```sh tab="SSH"
ssh cli@heaven.dev sign-in view
```

```sh tab="cURL"
curl "https://heaven.dev/v1/account/?view=sign-in" \
  -H "Authorization: Bearer $HEAVEN_API_KEY"
```

```json tab="MCP"
{ "tool": "sign-in_view",
  "arguments": {  } }
```

Response:

```json title="Response excerpt"
{
  "version": 1,
  "data": {
    "lifetime": "90d",
    "sessions": [
      {
        "current": true,
        "device": "",
        "signed_in_at": "2026-11-16T12:00:00Z"
      }
    ]
  }
}
```
