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

# JSON output

> The `--json` envelope, each command's `data`, status rows, `watch` events and stale codes.

With `--json`, every command prints one line of JSON on standard output, whether it succeeds or fails. `pitboard watch` prints one per event.

## The envelope

```sh theme={null}
pitboard rename wrong right --json
```

It prints this on one line:

```json theme={null}
{
  "v": 1,
  "command": "rename",
  "ok": true,
  "data": {
    "from": "wrong",
    "to": "right",
    "email": "me@example.com"
  },
  "warnings": [],
  "error": null
}
```

**v** `integer` *required*

The envelope's version, `1`. Pitboard adds fields and codes without changing it. A release that renames or removes a field or a value says so in the [changelog](https://usepitboard.com/changelog), in an entry marked Breaking.

**command** `string | null` *required*

The command that ran, such as `rename`. `pitboard` alone gives `status`, the three `schedule` commands give `schedule`, `vault` and its commands give `vault`, `watch install`, `status` and `uninstall` give `watch`, and `completions` and `manpage` give `generate`.

**ok** `boolean` *required*

`true` when the command succeeded and exits with status 0. [Exit codes](https://docs.usepitboard.com/reference/commands#exit-codes) lists the other statuses.

**data** `object | null` *required*

What the command found or did, as [Data by command](https://docs.usepitboard.com/reference/json-output.md#data-by-command) lists. `null` when the command failed. `doctor` and `generate` keep it when they fail.

**warnings** `object[]` *required*

One object per warning, with `code` and `message`, or an empty array. A change that failed still lists the warnings it found first. [Warning codes](https://docs.usepitboard.com/reference/errors.md#warning-codes) lists the codes.

**error** `object | null` *required*

Set when `ok` is `false`, and `null` otherwise.

**error fields**

**code** `string`

A stable code, listed in [Error and warning codes](https://docs.usepitboard.com/reference/errors.md).

**message** `string`

What went wrong, in words for a person.

**cause** `object | null`

What went wrong in a request to Anthropic or OpenAI. `null` on every error that [Cause codes](https://docs.usepitboard.com/reference/errors.md#cause-codes) does not list.

**cause fields**

**code** `string`

A cause code, listed in [Cause codes](https://docs.usepitboard.com/reference/errors.md#cause-codes).

**worth\_retrying** `boolean`

`true` when the same request could succeed later.

These failures have a shape of their own:

| Case | `command` | `data` | `error.code` | Exit status |
| - | - | - | - | - |
| Pitboard cannot parse the command line | `null` | `null` | `usage` | 2 |
| The command refuses a label, as `pitboard enroll codx/work` does | The command | `null` | `usage` | 2 |
| `forget`, `stow` or `uninstall` where it cannot ask, without `--yes`, as [Questions before deleting](https://docs.usepitboard.com/reference/commands#questions-before-deleting) describes | The command | `null` | `confirmation_needed` | 2 |
| `doctor` finds a check that fails | `doctor` | The whole report | `checks_failed` | 3 |
| `completions` or `manpage`, which have no JSON form | `generate` | `{}` | `output_is_not_a_report` | 2 |

In the last two rows, `error` has no `cause` field.

Every byte is ASCII. Pitboard writes a character outside ASCII as a `\u` escape: the label `Đạt` comes out as `\u0110\u1ea1t`. A character beyond U+FFFF becomes its UTF-16 surrogate pair.

Times are Unix times in seconds, such as `1790474400`. In `log` entries, `at` is a local time instead, such as `2026-09-22T01:01:00+07:00`.

> [!NOTE]
>
> Only `doctor --json` hides email addresses and account ids, behind placeholders such as `<email 1a2b3c4d>`. Email addresses appear in the output of `status`, `enroll`, `forget`, `rename` and `watch`, and in error messages such as `label_taken`. `status` also prints account ids. `repair` prints parked login names, and each name holds an account id.

## Data by command

In the order of `pitboard --help`:

| Command | `data` |
| - | - |
| `status` | See [Status data](https://docs.usepitboard.com/reference/json-output.md#status-data). |
| `use`, already in use | `to`, `changed` (`false`) and `config_updated`, `true` where Claude Code's config named another account and `use` wrote this one into it. |
| `use`, after a switch | `from`, `to`, `provider`, `changed` (`true`), `parked_at` (when the login of `from` was parked), `adoption_ceiling_seconds` and `adoption`. |
| `use`, where nothing was signed in | The same, with `from` and `parked_at` set to `null`. |
| `enroll` | `label` as typed, `provider` (`claude`, `codex`, `desktop` or `agy`), `email`, and `enrolled`: `current`, `signed_in`, `renewed` or `in_use`, as [`enroll`](https://docs.usepitboard.com/reference/account-commands#enroll) explains. |
| `rename` | `from`, `to` and `email`. |
| `order` | `accounts`, every enrolled account in its order, each with `label`, as `pitboard use` takes it, and `provider`. |
| `forget` | `label` and `email`. |
| `watch` | One envelope per event, as [Watch events](https://docs.usepitboard.com/reference/json-output.md#watch-events) lists. |
| `watch install` | `installed` (`true`), `threshold`, the share it switches at, `order`, `most-left`, `resets-soonest` or `your-order`, `switches`, and `path`, the job's file. With `--no-switch`, `threshold` and `order` are `null` and `switches` is `false`. On Windows, `task`, the task's path in Task Scheduler, in place of `path`. |
| `watch status` | `installed`. When `true`, also `threshold`, `order`, `switches` and `path`, or `task` on Windows. A service that never switches has a `threshold` and an `order` of `null`, and `switches` of `false`. Where the job says none of them the way Pitboard writes it, all three are `null`. Where Pitboard has no scheduler to write, also `supported` (`false`). |
| `watch uninstall` | `installed` (`false`) and `removed`, `false` when nothing was installed. |
| `warm` | `range`, with `from` and `to` as `HH:MM`; `halted`, `null`, or an object with `reason`, a `warm_up_halted` code from [Watch events](https://docs.usepitboard.com/reference/json-output.md#watch-events), where nothing can be warmed up here; and `accounts`, one object per Claude Code account with `label` and `on`. An account turned on also has `state`: `due`, `running`, `resting`, `waiting` or `held`, with `until` and `next_at` where they are known and, for `held`, `reason`, a code from [Watch events](https://docs.usepitboard.com/reference/json-output.md#watch-events). |
| `warm on`, `warm off` | `label`, `on`, and `changed`, `false` when it was so already. |
| `warm range` | `range`, with `from` and `to`. |
| `warm now` | `label`, `outcome`, `started` or `running`, and `until`, when its five-hour period resets, or `null` where Anthropic has not said yet. |
| `statusline` | `line`, the status line without colour, as [`statusline`](https://docs.usepitboard.com/reference/integration-commands#statusline) describes. |
| `renew` | `accounts`, one object per parked login that was due, with `label`, `provider` and `outcome`; and `renewed`, a count. `outcome` is `renewed`, `parked_login_refused`, `renewal_deferred`, `renewal_held`, `renewal_held_disk_full` or an error code, as [`renew`](https://docs.usepitboard.com/reference/maintenance-commands#renew) explains. |
| `schedule install` | `installed` (`true`) and `path`, the job's file. On Windows, `task`, the task's path in Task Scheduler, in place of `path`. |
| `schedule status` | `installed`. When `true`, also `every_seconds` (`86400`) and `path`, or `task` on Windows. Where Pitboard has no scheduler to write, also `supported` (`false`). |
| `schedule uninstall` | `installed` (`false`) and `removed`, `false` when nothing was scheduled. |
| `vault` | `kept`, where parked logins are kept: `keychain`, `secret_service`, `files`, `sealed_files`, or `null` where Pitboard cannot tell. `shared`, `true` where every Pitboard directory on the Mac or of your Linux session parks there. `path`, their folder where they are files, and `null` otherwise. `secret_service`, on Linux whether a Secret Service answers on your session's bus, and `null` elsewhere. `moving_to`, the form a move cut short goes to, or `null`. `leaving`, `null`, or `from`, the form a move left, and `parks`, how many parked logins wait to be deleted there. |
| `vault move` | `kept`, the form the parked logins are kept in now: `secret_service` or `files`. `changed`, `false` when they were kept there already. `moved`, how many parked logins are there now from the other form. `leaving`, how many wait to be deleted from the other form. |
| `log` | `entries`, oldest first, each with `at`, `caller` (`cli`, `app` or `unknown`), `verb`, `subject` and `outcome`, as [`log`](https://docs.usepitboard.com/reference/maintenance-commands#log) explains. |
| `doctor` | `environment`, the paths, login stores and versions Pitboard found, as [Doctor environment](https://docs.usepitboard.com/reference/json-output.md#doctor-environment) lists. `checks`, each with `code`, `name`, `level` (`ok`, `warn` or `fail`), `detail` and `advice`, as [`doctor`](https://docs.usepitboard.com/reference/maintenance-commands#doctor) lists. |
| `uninstall` | The counts `parks_removed`, `parks_pending` (could not be deleted, or a renewal of Claude Code's login not saved yet), `parks_left` (left because another Pitboard may own them) and `set_aside_removed` (folders set aside it deleted), the booleans `home_removed`, `warming_up` (a warm-up running kept the directory), `schedule_removed` and `watch_service_removed`, and `home_kept_by`, the paths of the files that could not be removed, which kept the directory. |
| `stow` | `stowed`, `false` when no login file sits behind the keychain or Credential Manager. When `true`, also `path`, the file deleted, and `login`, what became of its login: a code from [`stow`](https://docs.usepitboard.com/reference/recovery-commands#stow). Then `account`, the label of the login's account or `null`, and `dropped`, the file's other keys. |
| `repair` | `given_back`, objects with `label` and `service`, the parked login's name. `deleted`, `strangers` and `unreadable`, lists of parked login names, as [`repair`](https://docs.usepitboard.com/reference/recovery-commands#repair) explains. `set_aside`, the names of the folders it set aside in `parks/`. |
| `abandon` | `abandoned`, `true` when it gave up a Claude Code or Codex switch, with `from`, `to` and `logins_kept`, a count. `moves_given_up`, one object per Claude Desktop move it gave up, as [Moves given up](https://docs.usepitboard.com/reference/json-output.md#moves-given-up) lists, or an empty array. |
| `adopt` | `adopted`, `false` when the Pitboard directory was already this computer's. When `true`, also `accounts`, the labels kept, `logins_dropped`, the labels whose parked login was dropped, and `set_aside`, the labels whose Claude Desktop parked login was set aside. |
| `completions`, `manpage` | `{}`, in the failure shape [The envelope](https://docs.usepitboard.com/reference/json-output.md#the-envelope) gives. |

A Claude Desktop account has no email address, so `email` is empty wherever one of its accounts appears.

`adoption` says how each tool takes up a switch, as [Open sessions](https://docs.usepitboard.com/concepts/open-sessions.md) explains:

| Case | `adoption` | `adoption_ceiling_seconds` |
| - | - | - |
| Claude Code | `{"follows":"polling","within_seconds":33}` | `33` |
| Claude Code, while a login file sits behind the keychain or Credential Manager | `{"follows":"renewal","path":"/Users/you/.claude/.credentials.json"}` | `null` |
| Codex | `{"follows":"restart","program":"codex"}` | `null` |
| Claude Desktop | `{"follows":"open","app":"Claude"}` | `null` |

### Moves given up

Each object in the `moves_given_up` of `abandon`:

| Field | Type | Meaning |
| - | - | - |
| `provider` | string | `desktop`. |
| `label` | string | The account whose login was moving, as `pitboard use` takes it, such as `desktop/work`. |
| `parked` | integer | `1` when the account holds a parked login afterwards, `0` otherwise. |
| `set_aside` | integer | How many folders the give-up set aside. |
| `left` | array of strings | The items that stay in Claude's data folder. |
| `slot` | string or null | The data folder the move was made in, where it is not the one this run reads. `null` otherwise. |

### Doctor environment

The `environment` of `doctor`. It is `{}` where a variable naming a folder is empty or relative.

| Field | Type | Meaning |
| - | - | - |
| `config_file` | string | Claude Code's config file, such as `~/.claude.json`. |
| `storage_dir` | string | The folder that holds Claude Code's login file and locks, and picks the name of its keychain or Credential Manager item: `CLAUDE_SECURESTORAGE_CONFIG_DIR`, `CLAUDE_CONFIG_DIR` or `~/.claude`. |
| `credential_service` | string | The name of the item that holds Claude Code's login in the keychain on macOS, or in Credential Manager on Windows, such as `Claude Code-credentials`. |
| `credential_store` | string | Where Pitboard found Claude Code's login: `keychain`, `credential_manager`, `file`, `absent`, `unknown` or `unreadable`. |
| `home` | string | The Pitboard directory. |
| `codex` | object | `home`, Codex's folder: `CODEX_HOME`, or else `.codex` in your home, in your profile folder on Windows. `present`, whether that folder exists. `backend`, where Codex keeps its login: `file`, `keyring`, `auto`, `ephemeral`, `secrets` or `unknown`. `login_present`, whether `auth.json` exists, or `null` for any store but `file`. `version`, the version of OpenAI's Codex CLI, or `null`. |
| `desktop` | object | `data_folder`, Claude's data folder, or `null` where Pitboard leaves Claude Desktop alone. `present`, whether that folder exists. `build`, the version of `/Applications/Claude.app`, or `null`. |

## Status data

| Field | Type | Meaning |
| - | - | - |
| `slot` | object | The Claude Code login this output is about. `service` names its item in the keychain on macOS or in Credential Manager on Windows, and no item on Linux. `default` is `true` for `Claude Code-credentials`, the item used when no [environment variable](https://docs.usepitboard.com/reference/environment-variables.md) picks another. |
| `signed_in` | object or null | The Claude Code account in use: `account_uuid`, `email` and `organization_uuid`. With `--offline`, the account Anthropic last named for the login stored. |
| `signed_in_error` | string or null | Why `signed_in` is `null`, such as `nothing is signed in` or `not asked`. |
| `accounts` | array | One object per enrolled account, Claude Code's first, and within each tool the account in use first, then the rest in the order [`pitboard order`](https://docs.usepitboard.com/reference/account-commands#order) sets. A login in use that no account matches gets one too, and so does a login Pitboard could not read, use or identify. |
| `awaiting` | array | One object per sign-in inside Claude left halfway with an account parked for it, or empty. |

For Codex and Claude Desktop, the account in use is the object in `accounts` with that `provider` and `signed_in` set to `true`.

Each object in `accounts`:

| Field | Type | Meaning |
| - | - | - |
| `label` | string or null | The label without its tool, such as `work`. `null` for a login nobody enrolled. |
| `email` | string | The account's email address. Empty on a Claude Desktop account, and when Pitboard could not identify the login. |
| `account_uuid` | string | The account id, empty when Pitboard could not identify the login. Claude Code: the Anthropic account UUID, which one person's accounts in two organisations share. Claude Desktop: the account UUID Claude's settings named. |
| `organization_uuid` | string or null | The Claude organisation of a Claude Code login. `null` on any other tool's account, and for a login Pitboard could not identify. |
| `signed_in` | boolean | `true` for the account its tool is using. |
| `switchable` | boolean | `true` when `pitboard use` can switch to it: it is not in use, the `refresh_expires_at` of its parked login has not passed, and its service did not refuse that login (`login_refused`). |
| `parked` | object or null | The parked login's `parked_at` and its expiries, as the next table lists, or `null` when nothing is parked. |
| `lasts` | object or null | `seconds` and `why`. For the account in use, until its first limit runs out at its [pace](https://docs.usepitboard.com/concepts/usage.md#pace) (`why` is `filling`), or else until its first reset (`resets`). For any other account, until its first reset. `null` when no limit has a reset ahead. |
| `usage` | object or null | The reading: `source`, `observed_at` (when it was taken), `banked_resets` and `windows`. `null` when no usage is known. |
| `stale` | string or null | Why the reading is not live, as [Stale codes](https://docs.usepitboard.com/reference/errors.md#stale-codes) lists. |
| `provider` | string | `claude`, `codex`, `desktop` or `agy`. |
| `qualified` | string or null | The label with its tool, such as `claude/work`. `null` for a login nobody enrolled. |
| `plan` | string or null | The plan the account's login last said it is on, such as `Ultra`, `Team 5x` or `Plus`. Pitboard records it when it enrols the account and each time it reads the account's login. `null` where no login Pitboard read said one. |
| `read_at` | integer or null | On the Claude Desktop account in use, when Pitboard last read it in use. `null` on every other account. |
| `reason` | string or null | On a login Pitboard could not read, use or identify, why, as its store or service said. `null` on every other account. |

Which expiries `parked` gives depends on the tool. A time is `null` where it is unknown.

| Tool | `access_expires_at` | `refresh_expires_at` | `session_expires_at` |
| - | - | - | - |
| Claude Code | A time | A time | Always `null` |
| Codex | A time | Always `null` | Always `null` |
| Claude Desktop | Always `null` | Always `null` | The expiry its session cookie carries |

`source` is `live` when Pitboard asked the service this time. It is `remembered` for the last reading Pitboard recorded, from the command line, the app or a Claude Code status line.

`banked_resets` lists the banked resets a Claude Code or Codex account holds, as Anthropic or OpenAI last said, one object to each kind, and is `[]` where it holds none. It is `null` where the reading says nothing of them: on a Claude Code account Anthropic does not offer them, and on an account of any other tool.

| Field | Type | Meaning |
| - | - | - |
| `kind` | string | `5-hour`, `weekly`, `full` or `fable`, as [`spend-reset --kind`](https://docs.usepitboard.com/reference/account-commands#spend-reset) takes it. A Codex account's are `full`. |
| `left` | number | How many of the kind it holds. |
| `use_by` | number or null | When the first of them lapses, in Unix seconds. `null` where the service did not say. |
| `usable` | boolean | Whether one can be spent now. `false` for one spent only at a limit it refills. |

Each object in `windows` is one limit:

| Field | Type | Meaning |
| - | - | - |
| `kind` | string | The limit: `session` for a five-hour limit, `weekly_all` for a weekly one, `weekly_scoped` for a weekly one of one model or surface, or a name for another, such as `1_day`. |
| `scope` | string or null | The model or surface a narrower limit applies to, by the name Anthropic or OpenAI gives it. `null` for the account's own limit. |
| `percent` | number | How much of the limit is used. Over 100 when the limit is exceeded. |
| `resets_at` | integer or null | When the limit resets. |
| `is_active` | boolean | Anthropic's own `is_active` for the limit. Always `true` for Codex. |
| `severity` | string or null | Anthropic's own grade of the limit. `null` where it gives none, as for every Codex limit. |
| `length_seconds` | integer | How long the limit's period runs, such as `18000`. Left out when unknown. |
| `pace` | object or null | The limit's [pace](https://docs.usepitboard.com/concepts/usage.md#pace) as of `observed_at`. `expected` is the share an even pace would have used. `delta` is `percent` less `expected`, in percentage points. `standing` is `over`, `under` or `even` (within 5 points). Over pace adds `runs_out_in`, the seconds left until the limit runs out at its rate since its period began. `null` in a period's first 3%, for a limit used up, after its reset, and where its reset or length is unknown. |

Each object in `awaiting`:

| Field | Type | Meaning |
| - | - | - |
| `provider` | string | `desktop`. |
| `label` | string | The label an add enrols under, or the account signed in to again, in the form `pitboard use` takes, such as `desktop/travel`. |
| `put_back` | string | The account parked for it, in the same form. |
| `since` | integer | When the sign-in began. |
| `again` | boolean | `true` for a sign-in again, `false` for an add. |

## Watch events

Each event's envelope has `command` set to `watch`. With `--once`, `watch` prints one event. The `data` of every event has `event`. Every event but the warm-up ones also has `threshold`, the share it switches at, such as `95`. With `--no-switch`, `threshold` is `null`.

| `event` | When | Other fields |
| - | - | - |
| `watching` | `watch` starts. Not printed with `--once`. | `order`, `switches`, `false` with `--no-switch`, and `warm`, where an account is turned on for warm-ups: `range` and `accounts`, their labels |
| `idle` | No limit of the account in use has reached the share. | `account`, `limit`, `as_of` and `held_until` |
| `switched` | Pitboard switched Claude Code. | `from`, `to`, `limit`, `reason` and `adoption`, with `to_resets_at` and `from_resets_at` for `resets_first` |
| `waiting` | A limit reached the share, and a try at switching away came to nothing. | `from`, `limit` and `until` |
| `no_room` | A limit reached the share, and no other account has room. | `from`, `limit` and `unread` |
| `skipped` | A limit reached the share, and Pitboard stays on the account for a `reason`. | `from`, `limit` and `reason`, and `until` for `settling` |
| `not_watching` | Pitboard cannot decide whether to switch. | `reason`, and `email`, `account`, or `detail` and `until`, by reason |
| `warmed_up` | Pitboard warmed up an account. | `account` and `until` |
| `warm_up_held` | An account turned on is held back. | `account`, `reason` and `until` |
| `warm_up_halted` | Nothing can be warmed up here. | `reason` |

The other fields:

| Field | Type | Meaning |
| - | - | - |
| `account` | string | The Claude Code account in use, by its label: for `idle`, the one Pitboard watches, and for `no_reading`, the one with no reading. For `warmed_up` and `warm_up_held`, the account warmed up or held back. |
| `from` | string | The Claude Code account in use, by its label as `pitboard use` takes it. |
| `to` | string | The account switched to, by its label. |
| `limit` | object or null | The limit of `from` that reached the share, as last read: `kind`, `scope`, `percent` and `resets_at`, as in [Status data](https://docs.usepitboard.com/reference/json-output.md#status-data). A limit reaches the share at its whole percentage, a half rounded up, so `percent` can be `94.5` for a `threshold` of `95`. For `idle`, the fullest limit of `account` that has not reset, or `null` when it has none. For a `switched` event whose `reason` is `resets_first`, `null`. |
| `order` | string or null | Which account it switches to first: `most-left`, `resets-soonest` or `your-order`, as [Which account it switches to](https://docs.usepitboard.com/reference/automatic-switching.md#which-account-it-switches-to) gives them. `null` with `--no-switch`. |
| `to_resets_at`, `from_resets_at` | integer or null | When the week of `to`, and of `from`, resets. `to_resets_at` is `null` for an account without a weekly limit for all models. |
| `as_of` | integer or null | When the reading of `account` was taken. |
| `held_until` | integer or null | When Pitboard may next ask Anthropic about `account`, while it waits after a rate limit or an error. `null` otherwise. |
| `unread` | array of strings | The accounts Pitboard could switch to that Anthropic has given no reading of yet, by label. Empty when there are none. |
| `adoption` | object | How sessions already running pick up the switch: the `polling` or `renewal` shape of [Data by command](https://docs.usepitboard.com/reference/json-output.md#data-by-command). |
| `until` | integer or null | For `waiting`, when Pitboard tries again. For `settling`, when the account has been in use 5 minutes. For `not_identified`, when Pitboard tries again to identify the login. For `warmed_up`, when the period started resets, or `null` where Anthropic has not said yet. For `warm_up_held`, when the reason ends, where that is known. |
| `reason` | string | Why, as a code. The codes for each event follow this table. |
| `email` | string | For `not_enrolled`, the email address of the account whose login Claude Code has stored. |
| `detail` | string | For `not_identified`, why Pitboard could not identify the login, in a few words. |

For `switched`, `reason` is `limit`, where a limit of `from` reached the share, or `resets_first`, where `to` comes first by its week [before the share](https://docs.usepitboard.com/reference/automatic-switching.md#before-the-share).

For `skipped` and `not_watching`, [Automatic switching](https://docs.usepitboard.com/reference/automatic-switching.md) lists the codes.

For `warm_up_held`, `reason` is one of these:

| `reason` | Meaning |
| - | - |
| `limit_used_up` | One of the account's own limits is used up. `until` is when it resets. |
| `no_reading` | Anthropic has given no reading of the account. |
| `nothing_to_start` | Its plan has no five-hour limit. |
| `parked_login_expired` | Its parked login has expired. |
| `nothing_parked` | It is not in use and has nothing parked. |
| `attempts_spent` | Three warm-ups of it came to nothing today. `until` is the start of the next day. |

For `warm_up_halted`, `reason` is one of these:

| `reason` | Meaning |
| - | - |
| `switch_interrupted` | A switch did not finish. |
| `custom_oauth_endpoint` | `CLAUDE_CODE_CUSTOM_OAUTH_URL` is set, so Pitboard does not act on Claude Code. |
| `warm_up_auth_overridden` | Claude Code's managed settings, or an API key in its remote token file, sign it in another way. |
| `claude_not_found` | Claude Code is not installed where Pitboard looks. |

[When it holds back](https://docs.usepitboard.com/guides/warm-up.md#when-it-holds-back) says when each ends.

A warm-up that came to nothing prints an envelope with `ok` set to `false` and its error, once for each reason until that account warms up.

An error prints an envelope with `ok` set to `false`, and `watch` goes on. An error that ends `watch` prints the same, and `watch` exits with its status. [`watch`](https://docs.usepitboard.com/reference/account-commands#watch) says which errors end it, and what it prints only once.

A switch prints this on one line:

```json theme={null}
{
  "v": 1,
  "command": "watch",
  "ok": true,
  "data": {
    "event": "switched",
    "threshold": 95,
    "from": "work",
    "to": "personal",
    "limit": {
      "kind": "session",
      "scope": null,
      "percent": 96.0,
      "resets_at": 1790474400
    },
    "adoption": {
      "follows": "polling",
      "within_seconds": 33
    }
  },
  "warnings": [],
  "error": null
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.