Meetings & CallsAsterisk

Asterisk CLI commands

Find every Asterisk CLI command, option and exit code in the generated reference.

Every command, option and exit code, generated from the program itself. For the same list as JSON, run pbx commands --json.

The first word is the profile, a name you choose: pbx personal config show. PBX_PROFILE does the same for a whole shell session. No profile is assumed: a command that uses an account stops without one and lists the profiles on this computer.

Options for every command

OptionWhat it does
-V, --versionoutput the version number.
-v, --verbosemore detail in what is shown: -v ids, -vv everything we know. Default: 0.
--jsonmachine-readable output: one JSON value on stdout; --json=id,text keeps only those fields.
--jsonlmachine-readable output: one JSON object per line, for streaming and jq.
--quietdiagnostics off; a failure is still said.
--tracethe connection's own log lines on stderr — never content.
--debugon a failure, its whole record — cause and stack — in place of the short line.
--timeout <duration>give up on the whole command after this — 30s, 2m, 500ms.
--offlineanswer from what was recorded and never connect; fails if nothing was.
--no-inputnever prompt or open interactive login; piped input remains available.
--max-input-bytes <bytes>maximum buffered input bytes (default: 16777216).
--max-output-bytes <bytes>maximum machine output bytes (default: 4194304; 0 disables).
--brieffound items as reference, title, time, author and excerpt only.
--fullfound items with their whole text and every provider field.
--compactone line per item for an agent: reference first, text last, paging and next steps as # lines.
--dry-runpreview parsed arguments and permissions before running the action.
--yesgo ahead without the question an ask level puts before a write.
--recordkeep this run even where the config says record false; record_input false leaves the typed words out.
--no-recorddo not keep this run, even if it fails.

pbx commands

every command by section; --json prints its contract, one path per call

pbx commands info

one command contract, or all schemas, error reasons and explicit overrides

pbx commands info [path]
ArgumentRequirementWhat it is
pathoptionalone command path; without one, export schemas, error reasons and explicit overrides.

Example: pbx commands info commands

pbx session

check this profile's Asterisk source and keep its password in the OS keyring

pbx session start

check that this profile reaches its call records, set with config set: each password it needs (the database's, the SSH tunnel's, the SFTP server's, when no key file is set) is asked hidden, or read from stdin one per line, never taken as an argument, checked, and only then kept in the keyring, or in a private file; Master.csv on this computer needs none

Changes something on this computer only.

pbx session start [options]
OptionWhat it does
--credential-storage <storage>where the password is kept: keyring, which falls back to a private file by itself, or file. Default: keyring.

Example: pbx office session start, pbx office session start --credential-storage file

pbx session status

show which password this profile's source needs and where it comes from: PBX_TOKEN, the keyring or a file, never the password; --check reads the newest call records to prove it works

pbx session status [options]
OptionWhat it does
--checkread the newest call records to prove the settings and the password work.

Example: pbx office session status, pbx office session status --check --json

pbx session end

forget this profile's password on this computer; the imported calls stay, and the server is not touched

Changes something on this computer only.

pbx session end

Example: pbx personal session end

pbx session list

list the profiles on this computer and whether each has a password; picks none

pbx session list

Example: pbx session list, pbx session list --json

pbx meetings

stored meetings and their records

pbx meetings list

meetings, newest first: the service's and the stored ones, kept in the store

pbx meetings list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--backend <archive|server|both>where to read: the store (archive), the service (server), or both, kept in the store (default: both).
--limit <n>meetings per page; the profile's defaults.limit when absent.
--page <n>which page, starting at 1.

Returns: meeting — ref, id, provider_id, provider, account, title, url, started_at, and 12 more; every field: pbx commands info meetings list

Next usually: pbx meetings show <meeting>, pbx meetings transcript <meeting>, pbx meetings summary <meeting>

Example: pbx office meetings list --limit 50 --json

pbx meetings show

show a meeting, read again from the service with its people, transcript and documents

pbx meetings show <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredthe stored meeting's number, its meeting: ref, or the service's id (provider_id).
OptionWhat it does
--backend <archive|server|both>where to read: the store (archive), the service (server), or both, kept in the store (default: both).

Returns: meeting details — ref, id, provider_id, provider, account, title, url, started_at, and 21 more; every field: pbx commands info meetings show

Next usually: pbx meetings transcript <meeting>, pbx meetings summary <meeting>, pbx meetings export <meeting>

Example: pbx office meetings show 1 --json

pbx meetings transcript

show current meeting transcripts

pbx meetings transcript <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredstored meeting id.
OptionWhat it does
--historyinclude superseded transcript versions.

Returns: meeting transcript — ref, meeting, source, language, superseded_at, created_at, lines, untrusted; every field: pbx commands info meetings transcript

Example: pbx office meetings transcript 1 --json

pbx meetings summary

show stored meeting summaries

pbx meetings summary <meeting>
ArgumentRequirementWhat it is
meetingrequiredstored meeting id.

Returns: meeting summary — id, meeting, source, title, overview, sections, next_steps, content, and 4 more; every field: pbx commands info meetings summary

Next usually: pbx meetings show <meeting>, pbx meetings transcript <meeting>, pbx meetings export <meeting>

Example: pbx office meetings summary 1 --json

pbx meetings export

export a meeting as Markdown or one transcript as WebVTT

Changes something on this computer only.

pbx meetings export <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredstored meeting id.
OptionWhat it does
--format <format>export format. One of: markdown, vtt. Default: markdown.
--transcript-id <id>export a specific transcript version.
--output <file>write content to a new file through the host's writer.

Returns: meeting export — meeting_id, format, filename, content, untrusted, output; every field: pbx commands info meetings export

Example: pbx office meetings export 1 --format markdown --json

pbx meetings people

find meeting participants by name or email

pbx meetings people <query> [options]
ArgumentRequirementWhat it is
queryrequireda name or an email address.
OptionWhat it does
--limit <n>most matching observations per page, 1–1000 (default 50).
--scan-limit <n>most participant observations to inspect, 1–10000 (default 1000).
--max-read-bytes <bytes>most stored name and email bytes to read (default 1048576).
--cursor <cursor>continue with the same name query and selected account.

Returns: meeting participants — schema_version, kind, account_id, query, items, ambiguity, coverage, page; every field: pbx commands info meetings people

Example: pbx office meetings people "Test Manager" --json

pbx meetings sync

bring the stored meetings up to date from the connected account, oldest first; a run that stops before its deadline keeps what it saved and the next one goes on from there

Changes something on this computer only.

pbx meetings sync [options]
OptionWhat it does
--since-time <time>fetch meetings starting at or after this ISO 8601 date or time, or 30m, 2h, 7d ago.
--lookback-days <days>revisit recent occurrences for late transcripts (0–31).
--rescanread the last 30 days again, not only what came after the last sync.

Returns: meeting ingestion — meetings, participants, transcript_rows, summaries, warnings, timezone; every field: pbx commands info meetings sync

Example: pbx office meetings sync --since-time 2026-08-01T00:00:00Z --json

pbx meetings import

import downloaded meeting transcripts

Changes something on this computer only.

pbx meetings import <folder>
ArgumentRequirementWhat it is
folderrequiredfolder of transcripts downloaded from the provider.

Returns: meeting ingestion — meetings, participants, transcript_rows, summaries, warnings, timezone; every field: pbx commands info meetings import

Example: pbx office meetings import ./transcripts --json

pbx meetings repair

preview filling in what older builds left out of stored transcripts (their language); --yes stores it

Changes something on this computer only.

pbx meetings repair [options]
OptionWhat it does
--yesstore the detected languages; otherwise only preview.

Returns: meeting repair — account_id, applied, transcripts, languages; every field: pbx commands info meetings repair

Example: pbx office meetings repair --json

pbx meetings embed

preview building the vectors search by meaning reads; --yes builds one batch, rerun for the next

Changes something on this computer only.

pbx meetings embed [options]
OptionWhat it does
--model <model>embedding model: a local one (default: the models command's default text model).
--base-url <url>remote embedding service; the passages are sent there. OpenAI reads OPENAI_API_KEY.
--dims <n>vector size the remote service returns, in dimensions.
--limit <n>how many passages in one batch, 1 through 1000 (default 100).
--max-rows <n>most transcript lines to read, 1 through 100000.
--max-text-bytes <bytes>most transcript text to read, in bytes (default 4 MiB).
--yessplit transcripts and build their vectors; otherwise only preview.

Example: pbx office meetings embed --json, pbx office meetings embed --yes --json

pbx meetings transcribe

read each call's recording, never changing it, and recognize the speech with a local speech model; a profile with transcribe_engine openai sends the audio to that service instead, and the run says so first

Changes something on this computer only.

pbx meetings transcribe [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that pick the calls (default duration_ms>=5000) — the fields are below.
OptionWhat it does
--replacetranscribe calls that already have a transcript too, replacing it.
--max-meetings <n>at most this many calls transcribed, newest first. Default: 20.
--model <model>local speech model, when the profile transcribes locally. Default: gigaam-v3.

Returns: call transcription report — transcribed, audio_ms, failed, remaining, stopped; every field: pbx commands info meetings transcribe

Example: pbx office meetings transcribe --max-meetings 20 --json, pbx office meetings transcribe duration_ms>=60000 --json, pbx office meetings transcribe id:12 --replace --json

pbx events

the owner's stored events

pbx events list

list stored events

pbx events list [query]
ArgumentRequirementWhat it is
queryoptionalevent id, origin or time fields that narrow the list.

Returns: event — id, event_series_id, title, description, location, starts_at, ends_at, timezone, and 13 more; every field: pbx commands info events list

Example: pbx office events list --json

pbx stats

statistics

pbx stats calls

numbers about the stored phone calls

pbx stats calls show

calls by direction and outcome, per employee, by hour and by day; missed incoming calls and whether the client was called back; short calls. What the phone system does not record is counted as unknown

pbx stats calls show [options]
OptionWhat it does
--since-time <time>calls starting at or after this date or time (ISO 8601, or 30d ago).
--until-time <time>calls starting at or before this date or time; a date alone is that whole day.
--timezone <zone>the IANA zone hours and days are read in (default: this computer's).
--person-id <id>only calls this stored person took part in; a phone system that keeps no one who only rang misses those.
--within <duration>how long after a missed call a callback counts (default 1d).
--limit <n>most missed calls listed one by one, newest first (default 100); all are counted.

Returns: call stats — time_zone, callback_within_ms, short_call_under_ms, calls, not_calls, known, employees, hours, and 10 more; every field: pbx commands info stats calls show

Example: pbx office stats calls show --since-time 7d --json

search the stored resources

pbx search meetings

find words in stored meetings, and by meaning with --model

Changes something on this computer only.

pbx search meetings <query> [options]
ArgumentRequirementWhat it is
queryrequiredwords, OR, (groups), -word, "a phrase", "a b"~N (within N lines), exact:word, from:"Name" (who said the line); date>=30d, project:, tag:, topic: choose meetings; a word also matches its other forms and spellings speech recognition garbled.
OptionWhat it does
--meeting-id <id>only this stored meeting.
--identity-id <id>meetings with this participant identity; does not say who spoke a hit.
--person-id <id>meetings with a participant linked to this person.
--event-id <id>only meetings linked to this stored event.
--series-id <id>only meetings in this stored series.
--project <project>meetings confirmed in this project, by name, key or alias.
--tag <name>meetings with this tag, by name or alias.
--topic-name <name>meetings with this topic, by name or alias.
--since-time <time>meetings starting at or after this ISO 8601 date or time, or 30m, 2h, 7d ago.
--until-time <time>meetings starting at or before this ISO 8601 date or time; a date alone covers that whole local day.
--limit <n>how many hits, 1 through 1000; the profile's defaults.limit when absent.
--cursor <cursor>continue from the previous page's page.next_cursor, with the same query and filters.
--max-read-bytes <bytes>most stored bytes to read, 1 through 67108864 (default 4194304).
--model <model>rank words and meaning together with this embedding model, building missing vectors first; local stays here.
--base-url <url>remote embedding service for --model; the passages are sent there.
--dims <n>vector size the remote service returns, in dimensions.
--max-chunks <n>by meaning: most stored passages to compare (default 10000).
--max-rows <n>by meaning: most transcript lines to read, 1 through 100000.
--max-text-bytes <bytes>by meaning: most transcript text to read (default 4 MiB).

Returns: meeting hit — ref, meeting, scope, id, excerpt, offset_ms, language, line, and 8 more; every field: pbx commands info search meetings

Next usually: pbx meetings show <meeting>, pbx meetings transcript <meeting>, pbx meetings summary <meeting>

Example: pbx office search meetings refund --json, pbx office search meetings "a client unhappy with the delivery" --model embeddinggemma --json

pbx tags

your labels on stored meetings, kept in the local store and never sent

pbx tags add

put tags on stored meetings: by id, or every meeting where a search finds its words

Changes something on this computer only.

pbx tags add <tag> [options]
ArgumentRequirementWhat it is
tagrequiredone or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered.
OptionWhat it does
--meeting <id>a meeting, by its store id; repeat for more.
--matching <query>every meeting where search meetings finds this query: words, phrases, OR, -word, from:, date>=30d.

Returns: meeting tag change — tags, matched, changed; every field: pbx commands info tags add

Example: pbx office tags add complaint --matching "refund OR complaint" --json, pbx office tags add vip --meeting 12 --json

pbx tags remove

take tags off stored meetings: by id, or every meeting where a search finds its words

Changes something on this computer only.

pbx tags remove <tag> [options]
ArgumentRequirementWhat it is
tagrequiredone or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered.
OptionWhat it does
--meeting <id>a meeting, by its store id; repeat for more.
--matching <query>every meeting where search meetings finds this query: words, phrases, OR, -word, from:, date>=30d.

Returns: meeting tag change — tags, matched, changed; every field: pbx commands info tags remove

Example: pbx office tags remove complaint --meeting 12 --json

pbx tags list

the stored meetings of this account that carry a tag, each with all its tags

pbx tags list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--limit <n>meetings per page, 1–500 (default 100). Default: 100.
--page <n>page number. Default: 1.

Returns: meeting tagging — meeting, meeting_id, title, started_at, tags, untrusted; every field: pbx commands info tags list

Example: pbx office tags list tag:complaint --json

pbx models

models that run on this machine

pbx models list

speech and embedding models, their download status and the default of each kind

pbx models list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: pbx commands info models list

Next usually: pbx models download <model>, pbx models set <model>

Example: pbx models list, pbx models list kind:audio

pbx models download

download and verify one speech or embedding model

Changes something on this computer only.

pbx models download <model> [options]
ArgumentRequirementWhat it is
modelrequireda model id from models list.
OptionWhat it does
--offlinerefuse a download that needs the network.
--accept-termsno longer needed; kept so older scripts still run.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: pbx commands info models download

Next usually: pbx models set <model>

Example: pbx models download embeddinggemma

pbx models set

make a downloaded text model the one every embed and every search by meaning uses, in every WireCat CLI. Each model keeps its own vectors: the next syncs embed what the new one lacks, and switching back is instant

Changes something on this computer only.

pbx models set <model>
ArgumentRequirementWhat it is
modelrequireda downloaded text model id from models list.

Returns: model chosen — id, kind, title, languages, size_bytes, downloaded, default, path, and 9 more; every field: pbx commands info models set

Next usually: pbx models download <model>

Example: pbx models set e5-large

pbx models add

add an ONNX embedding model from Hugging Face, pinned and checked by sha256

Changes something on this computer only.

pbx models add <id> [options]
ArgumentRequirementWhat it is
idrequiredthe id to give it: a-z, 0-9, . _ -.
OptionWhat it does
--payload <json>where the model is and how to run it, as JSON (below).
--offlinerefuse a call that needs the network.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: pbx commands info models add

Next usually: pbx models download <model>, pbx models set <model>

Example: pbx models add e5-base --payload '{"repository":"Xenova/multilingual-e5-base","onnx":"onnx/model_quantized.onnx","dims":768,"pooling":"mean","prefix":{"query":"query: ","passage":"passage: "}}'

pbx doctor

the state this installation is in, without connecting unless --online

pbx doctor [options]
OptionWhat it does
--onlinealso connect once and read the account; sends nothing.

Example: pbx doctor, pbx doctor --json

pbx doctor reports

problem reports

pbx doctor reports show

what a problem report holds; writes nothing

pbx doctor reports show

Example: pbx doctor reports show

pbx doctor reports create

write a problem report to a file, and say where to send it

Changes something on this computer only.

pbx doctor reports create [options]
OptionWhat it does
--run <id>the run the report is about; the newest failed one if not given.
--output <file>where to write it; a new file in this directory if not given.

Example: pbx doctor reports create --output ./problem-report.json

pbx skill

the instructions an agent is given for this tool

pbx skill show

print SKILL.md — pbx skill install puts it where Claude Code, Codex, Gemini CLI and OpenClaw look for it, and where Hermes does on request; --for prints the copy already there

pbx skill show [options]
OptionWhat it does
--for <agents>print the copy installed for these agents instead of this version's. One of: claude, agents.

Example: pbx skill show

pbx skill install

write SKILL.md to ~/.claude/skills/asterisk-cli/ (Claude Code) and ~/.agents/skills/asterisk-cli/ (Codex, Gemini CLI, OpenClaw); --for hermes also has Hermes read ~/.agents/skills, which changes Hermes's own settings, so all leaves it out

Changes something on this computer only.

pbx skill install [options]
OptionWhat it does
--for <agents>which agents to install for. One of: claude, agents, hermes, all. Default: all.

Example: pbx skill install --for agents

pbx skill status

for each place pbx skill install writes to, and for the copy Hermes reads: the path, the version installed there, and whether it is current, stale, missing or unversioned

pbx skill status

Example: pbx skill status, pbx skill status --json

pbx mcp

serve this profile to an agent over MCP and set it up — claude mcp add pbx -- pbx <profile> mcp serve

pbx mcp serve

serve this profile to an agent over MCP, on stdin and stdout — claude mcp add pbx -- pbx <profile> mcp serve; pbx mcp serve --profiles a,b or --profiles all serves those profiles from one server and each tool asks which

Changes something in the service.

pbx mcp serve [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like meetings.sync=deny; it never loosens the profile; repeat for more keys.
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.
--httpserve over HTTP on 127.0.0.1 for ChatGPT and Claude in the browser, behind your tunnel; the profile's permissions decide.
--port <port>the local port for --http (default 8765).
--public-url <url>the tunnel's https address the browser apps use, e.g. https://.ts.net or https://.ts.net/tg.

Example: pbx personal mcp serve, pbx mcp serve --profiles work,personal, pbx personal mcp serve --http --public-url https://laptop.example.ts.net

pbx mcp revoke

forget every login mcp serve --http gave a browser app, of this profile or of the server --profiles names; each app must log in again

Changes something on this computer only.

pbx mcp revoke [options]
OptionWhat it does
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.

Example: pbx personal mcp revoke, pbx mcp revoke --profiles all

pbx mcp server

start, stop and check mcp serve --http in the background; status shows the login code for a browser app

pbx mcp server start

start mcp serve --http apart from this shell and answer once it listens, with its login code

Changes something on this computer only.

pbx mcp server start [options]
OptionWhat it does
--port <port>the local port (default 8765).
--public-url <url>the tunnel's https address the browser apps use, e.g. https://.ts.net or https://.ts.net/tg.
--permission <key=level>make a permission stricter for this server only; repeat for more keys.
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: pbx personal mcp server start --public-url https://laptop.example.ts.net

pbx mcp server stop

stop mcp serve --http — only one that mcp server start started

Changes something on this computer only.

pbx mcp server stop [options]
OptionWhat it does
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: pbx personal mcp server stop

pbx mcp server status

whether mcp serve --http runs, on which port and address, the login code for a new browser app, and the apps logged in

pbx mcp server status [options]
OptionWhat it does
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: pbx personal mcp server status --json

pbx mcp config

print the mcpServers entry for Claude Desktop, Cursor and others, with full paths; writes nothing

pbx mcp config [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like meetings.sync=deny; it never loosens the profile; repeat for more keys.
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.

Example: pbx personal mcp config, pbx mcp config --profiles all

pbx mcp add

add this profile's local MCP server to Codex or Claude Code

Changes something on this computer only.

pbx mcp add <client> [options]
ArgumentRequirementWhat it is
clientrequiredcodex or claude-code.
OptionWhat it does
--allow-writesacknowledge that this profile offers writing tools.
--permission <key=level>make a permission stricter for this server only, like meetings.sync=deny; it never loosens the profile; repeat for more keys.

Example: pbx personal mcp add codex --allow-writes

pbx mcp check

check this profile's local MCP handshake and tool list

pbx mcp check [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like meetings.sync=deny; it never loosens the profile; repeat for more keys.

Example: pbx personal mcp check

pbx upgrade

upgrade pbx with the package manager that installed it; --check only looks

Changes something on this computer only.

pbx upgrade [options]
OptionWhat it does
--checksay whether a newer version exists, and install nothing.

Example: pbx upgrade --check

pbx config

the settings in force, and where each one came from

pbx config show

the profile, the profiles that exist, and each setting with where it came from

pbx config show

Example: pbx personal config show

pbx config set

save a setting to the configuration file

Changes something on this computer only.

pbx config set <setting> <value> [options]
ArgumentRequirementWhat it is
settingrequiredone of: limit, timeout_ms, color, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, keep_store_runs_for_days, runs_size_limit_mb, permissions, requests_per_minute, search_reranker, embedding_provider, embedding_model, embedding_base_url, embedding_dims, models, cdr_source, cdr_csv_path, cdr_csv_columns, db_host, db_port, db_name, db_user, db_table, db_tls, db_ssh_host, db_ssh_port, db_ssh_user, db_ssh_key_path, db_ssh_host_key, recordings_path, recordings_pattern, recordings_channels, files_from, sftp_host, sftp_port, sftp_user, sftp_key_path, sftp_host_key, cdr_timezone, phone_region, extension_pattern, extension_names, transcribe_engine, transcribe_model, update_check, skill_hint, search_stemmers.cyrillic, search_stemmers.latin, owner_languages, crm.:.links, crm.:.company-types, crm.:.scope, crm.:.unassigned, crm.:.self, crm.:.stage-tasks, crm.:.activities.
valuerequireda number, true or false; for a group tg:work,max:Alice,email:me@x.
OptionWhat it does
--defaultschange what every profile gets, rather than this profile.

Example: pbx personal config set limit 20

pbx config unset

remove a setting from the configuration file

Changes something on this computer only.

pbx config unset <setting> [options]
ArgumentRequirementWhat it is
settingrequiredone of: limit, timeout_ms, color, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, keep_store_runs_for_days, runs_size_limit_mb, permissions, requests_per_minute, search_reranker, embedding_provider, embedding_model, embedding_base_url, embedding_dims, models, cdr_source, cdr_csv_path, cdr_csv_columns, db_host, db_port, db_name, db_user, db_table, db_tls, db_ssh_host, db_ssh_port, db_ssh_user, db_ssh_key_path, db_ssh_host_key, recordings_path, recordings_pattern, recordings_channels, files_from, sftp_host, sftp_port, sftp_user, sftp_key_path, sftp_host_key, cdr_timezone, phone_region, extension_pattern, extension_names, transcribe_engine, transcribe_model, update_check, skill_hint, search_stemmers.cyrillic, search_stemmers.latin, owner_languages, crm.:.links, crm.:.company-types, crm.:.scope, crm.:.unassigned, crm.:.self, crm.:.stage-tasks, crm.:.activities.
OptionWhat it does
--defaultschange what every profile gets, rather than this profile.

Example: pbx personal config unset limit

pbx config migrate

write each setting the file lacks at its default, keeping yours

Changes something on this computer only.

pbx config migrate

Example: pbx config migrate

pbx config repair

fix broken JSON syntax in the settings file — comments, a missing or extra comma, unquoted keys, single quotes, missing closing brackets at the end — keeping every value, with a backup beside it; refuses anything with more than one reading and changes nothing then

Changes something on this computer only.

pbx config repair [options]
OptionWhat it does
--dry-runsay what it would fix, and change nothing.

Example: pbx config repair, pbx config repair --dry-run

pbx setup

connect this profile to pbx: the same questions WireCat Desktop shows, asked in the terminal, checked, and saved only when the check succeeds; show, apply and run are the same flow for programs

pbx setup show

print the connection flow as a WireCat setup document: steps, texts in every language, and each setting's own JSON Schema; with a profile it adds the profile's current values, a secret only as { set: true }

pbx setup show

Example: pbx personal setup show --json, pbx office setup show --json

pbx setup apply

read the answers as one JSON object on stdin (input id → value), keep only those on the path they lead to, check each with its setting's own schema, then run the CLI's check and save the settings and secrets; --dry-run only checks and saves nothing

Changes something on this computer only.

pbx setup apply [options]
OptionWhat it does
--dry-runcheck the answers, and save nothing.

Example: pbx office setup apply --dry-run --json, pbx office setup apply --json

pbx setup run

run one run step of the flow: apply checks the answers, runs the CLI's check and saves; the sign-in events go to stderr as JSON lines and the result to stdout; with --answer-stdin the answers are stdin's first line

Changes something on this computer only.

pbx setup run <action> [options]
ArgumentRequirementWhat it is
actionrequiredthe step's action: apply.
OptionWhat it does
--answer-stdinwith --json and no terminal: print each question as a needs line on stderr and read its answer, one line, from stdin.

Example: pbx office setup run apply --json --answer-stdin

pbx runs

recorded runs — what this tool did, and when

pbx runs list

recorded runs, newest first

pbx runs list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--limit <n>how many to show.
--page <n>which page, starting at 1.

Returns: run — run_id, command, started_at, status, cli_version, profile, completed_at, requests, and 23 more; every field: pbx commands info runs list

Example: pbx personal runs list --limit 10

pbx runs show

one run: what it was, how it ended, and every event it logged

pbx runs show <run-id> [options]
ArgumentRequirementWhat it is
run-idrequiredan id from pbx runs list.
OptionWhat it does
--problemsonly failed responses, warnings and crashes.

Returns: run details — run_id, command, started_at, status, cli_version, directory, event_count, events, and 22 more; every field: pbx commands info runs show

Example: pbx personal runs show run-101

pbx runs path

the directory holding one run

pbx runs path <run-id>
ArgumentRequirementWhat it is
run-idrequiredan id from pbx runs list.

Returns: run location — path; every field: pbx commands info runs path

Example: pbx personal runs path run-101

Exit codes

Branch on the code, not on the text: the text can change, the code does not.

CodeWhen
0it worked
2validation_error
3configuration_error
4authentication_error
5permission_error
6not_found
7confirmation_required
8rate_limited
9timeout
10network_error
11provider_error
12provider_unavailable
13invalid_response
14outcome_unknown
15conflict
130cancelled
1anything else