AvairAI CLI command reference
Every command with its arguments, options and examples. avair <command> --help prints the same text.
Global options
Section titled Global optionsEvery command takes these.
--json: print stable JSON only--no-input: never prompt or open a browser-y, --yes: confirm live and credit-spending actions--dry-run: show what would happen without sending requests or changing anything on this computer--debug: print request diagnostics
Sign in and manage local credentials
avair auth login
Section titled avair auth loginSign in with your browser, or with a personal access token
Options:
--with-token: read a personal access token from stdin
Examples:
avair auth loginavair auth login --with-tokenavair auth status
Section titled avair auth statusCheck that you are signed in and show who you are
Examples:
avair auth statusavair auth logout
Section titled avair auth logoutSign out on this computer
Examples:
avair auth logoutwhoami
Section titled whoamiShow the current Avair identity and tenant
avair whoami
Section titled avair whoamiShow the current Avair identity and tenant
Examples:
avair whoamiavair whoami --jsonaccount
Section titled accountYour account
avair account usage
Section titled avair account usageCampaign quota, Tools credits and contact limits, each as its own control
Examples:
avair account usageprofile
Section titled profileYour user profile
avair profile show
Section titled avair profile showShow your user profile
Examples:
avair profile showavair profile edit
Section titled avair profile editAgents may change name, title and sign-off settings; email, phone and role are refused
Options:
--first-name <name>: your first name--last-name <name>: your last name--job-title <title>: your job title--booking-link <url>: your meeting booking link--signature-mode <mode>: AUTO or CUSTOM--signature <text>: your own email sign-off text, used when the mode is CUSTOM
Examples:
avair profile edit --job-title "Sales Director"avair profile edit --first-name Jane --last-name Doe --booking-link https://example.com/bookavair profile content-style show
Section titled avair profile content-style showShow your content style and examples
Examples:
avair profile content-style showavair profile content-style set
Section titled avair profile content-style setReplace your content style and examples from a JSON file
Options:
--input <file>: JSON with selected_style, examples, default_instructions, preferred_language
Examples:
avair profile content-style set --input content-style.jsoncampaigns
Section titled campaignsCreate, build, review and launch campaigns
avair campaigns list
Section titled avair campaigns listList campaigns
Options:
--status <status>: a campaign status, ALL_DRAFTS or ALL--mine: only campaigns you own or are assigned to--search <text>: only campaigns that match this text--limit <n>: page size (default: "50")--skip <n>: rows to skip (default: "0")
Examples:
avair campaigns listavair campaigns list --status ALL_DRAFTS --mine --limit 20avair campaigns list --search "Texas"avair campaigns show <id>
Section titled avair campaigns show <id>Show one campaign
Examples:
avair campaigns show CAMPAIGN_IDavair campaigns watch <id>
Section titled avair campaigns watch <id>Wait until the campaign stops generating
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns watch CAMPAIGN_IDavair campaigns watch CAMPAIGN_ID --timeout 1800avair campaigns create
Section titled avair campaigns createCreate a campaign from a website; it stops when its targets are ready
Options:
--input <file>: complete JSON request file--website <url>: the website of the company to sell for--location <location>: one place to target, for example a state--size <size>: one company size to target, for example 51-200--industry <industry>: one industry to target--channels <channels>: comma-separated: email, manual_call, ai_call, linkedin--content-style <style>: campaign style, lower case with hyphens: standard, competitor-replacement, single-competitor-takeout, event-outreach, local-market-push, list-standard, event-list-follow-up, win-back, customer-expansion, partner-recruitment--assess <steps>: steps the build checks and improves by itself: all (default), none or a comma list of messaging, content and targets--idempotency-key <key>: a retry with the same key and the same request returns the same campaign, not a second one; a different request with that key is refused (409); default: a new random key each run--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns create --website example.com --location "Texas"avair campaigns create --website https://example.com --industry "Software" --size "51-200" --channels email,linkedin --waitavair campaigns create --input request.json --idempotency-key my-first-campaignavair campaigns create --website example.com --assess messagingavair campaigns build [id]
Section titled avair campaigns build [id]Build a campaign on the server up to a review stop; never launches. With --website it first creates the campaign (as campaigns create) and waits for its targets, then continues
Options:
--stop-at <stage>: where to stop: targets, contacts, ready or launchable (launchable also confirms the overview and runs contact verification and phone checks, which cost nothing)--website <url>: create a new campaign from this website first (instead of giving an id)--location <location>: one place to target, for example a state; only with --website--size <size>: one company size to target, for example 51-200; only with --website--industry <industry>: one industry to target; only with --website--channels <channels>: comma-separated: email, manual_call, ai_call, linkedin; only with --website--content-style <style>: campaign style, lower case with hyphens: standard, competitor-replacement, single-competitor-takeout, event-outreach, local-market-push, list-standard, event-list-follow-up, win-back, customer-expansion, partner-recruitment; only with --website--idempotency-key <key>: with --website, protects the create step as on create (same key and request returns the same campaign; a different request is refused with 409); not needed for an existing campaign, where the server already returns the build in progress; default: a new random key each run--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns build --website example.com --location "Texas" --stop-at targetsavair campaigns build CAMPAIGN_ID --stop-at launchable --waitavair campaigns build --website example.com --content-style win-back --stop-at contacts --waitavair campaigns dispatch-status <id>
Section titled avair campaigns dispatch-status <id>Show the progress of a launch or a test start
Options:
--kind <kind>: start or test (default: whichever is newest)
Examples:
avair campaigns dispatch-status CAMPAIGN_IDavair campaigns dispatch-status CAMPAIGN_ID --kind testavair campaigns rename <id>
Section titled avair campaigns rename <id>Rename a campaign
Options:
--name <name>: the new campaign name--campaign-version <n>: the campaign version you read
Examples:
avair campaigns rename CAMPAIGN_ID --name "Texas software buyers"avair campaigns inputs show <id>
Section titled avair campaigns inputs show <id>Show the Step 1 inputs
Examples:
avair campaigns inputs show CAMPAIGN_IDavair campaigns inputs edit <id>
Section titled avair campaigns inputs edit <id>Replace the Step 1 inputs from a JSON file
Options:
--input <file>: JSON with company_profile_json, case_study_json, call_agent_info …
Examples:
avair campaigns inputs edit CAMPAIGN_ID --input inputs.jsonavair campaigns inputs approve <id>
Section titled avair campaigns inputs approve <id>Generate content (legacy wizard campaigns only)
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns inputs approve CAMPAIGN_ID --waitavair campaigns content show <id>
Section titled avair campaigns content show <id>Show the email templates and call scripts
Examples:
avair campaigns content show CAMPAIGN_IDavair campaigns content keep <id>
Section titled avair campaigns content keep <id>Keep a template as it is after the content review flagged it (answers the review note; not an edit)
Options:
--template <templateId>: an email template or call script id from content show--kind <kind>: email or call (default: "email")--content-version <n>: content_version from content show
Examples:
avair campaigns content keep CAMPAIGN_ID --template TEMPLATE_ID --content-version 3avair campaigns content keep CAMPAIGN_ID --template TEMPLATE_ID --kind call --content-version 3avair campaigns content edit <id>
Section titled avair campaigns content edit <id>Change one email template or call script
Options:
--template <templateId>: an email template or call script id from content show--kind <kind>: email or call (default: "email")--content-version <n>: content_version from content show--subject <text>: new email subject--body <text>: new email body--script <text>: new call script text
Examples:
avair campaigns content edit CAMPAIGN_ID --template TEMPLATE_ID --content-version 3 --subject "A quick question"avair campaigns content edit CAMPAIGN_ID --template TEMPLATE_ID --kind call --content-version 3 --script "Hello, this is Jane."avair campaigns content approve <id>
Section titled avair campaigns content approve <id>Generate targets (legacy wizard campaigns only)
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns content approve CAMPAIGN_ID --waitavair campaigns content regenerate <id>
Section titled avair campaigns content regenerate <id>Draft new content as a preview
Options:
--instructions <text>: what to change or focus on in the new draft--style <style>: content style for the draft--language <language>: language for the draft--channels <csv>: comma-separated: all (default), email, call, linkedin, whatsapp--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns content regenerate CAMPAIGN_ID --instructions "Shorter and more direct" --waitavair campaigns content regenerate CAMPAIGN_ID --style standard --language Englishavair campaigns content preview <id>
Section titled avair campaigns content preview <id>Show the draft made by content regenerate
Examples:
avair campaigns content preview CAMPAIGN_IDavair campaigns content apply <id>
Section titled avair campaigns content apply <id>Replace the campaign content with the draft
Examples:
avair campaigns content apply CAMPAIGN_IDavair campaigns content discard <id>
Section titled avair campaigns content discard <id>Throw away the draft (needs --yes)
Examples:
avair campaigns content discard CAMPAIGN_ID --yesavair campaigns targets show <id>
Section titled avair campaigns targets show <id>Show the target accounts and titles
Examples:
avair campaigns targets show CAMPAIGN_IDavair campaigns targets edit <id>
Section titled avair campaigns targets edit <id>Replace the target accounts and titles from a JSON file
Options:
--input <file>: JSON with accounts_json and titles_json
Examples:
avair campaigns targets edit CAMPAIGN_ID --input targets.jsonavair campaigns targets find-more <id>
Section titled avair campaigns targets find-more <id>Look for more target accounts
Examples:
avair campaigns targets find-more CAMPAIGN_IDavair campaigns targets approve <id>
Section titled avair campaigns targets approve <id>Approve targets and generate contacts
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns targets approve CAMPAIGN_ID --waitavair campaigns assess run <id>
Section titled avair campaigns assess run <id>Score one step, or every step that has data, and list what to fix
Options:
--step <step>: messaging, content, targets or contacts; default: every step that has data
Examples:
avair campaigns assess run CAMPAIGN_IDavair campaigns assess run CAMPAIGN_ID --step content --jsonavair campaigns assess apply <id>
Section titled avair campaigns assess apply <id>Apply the fixes: all of a step (assessed now), or the ones named from a saved result. Asks first when a fix redoes later steps (needs --yes without a terminal)
Options:
--step <step>: messaging, content, targets or contacts--input <file>: a result saved from avair campaigns assess --json, with --finding--finding <ids>: comma-separated suggestion ids from --input; default: apply all
Examples:
avair campaigns assess apply CAMPAIGN_ID --step contentavair campaigns assess apply CAMPAIGN_ID --step content --input assessment.json --finding P11-1 --yesavair campaigns contacts show <id>
Section titled avair campaigns contacts show <id>List the contacts of the campaign
Options:
--limit <n>: how many rows to return (default: "100")--skip <n>: rows to skip (default: "0")
Examples:
avair campaigns contacts show CAMPAIGN_IDavair campaigns contacts show CAMPAIGN_ID --limit 100 --skip 100avair campaigns contacts list <id>
Section titled avair campaigns contacts list <id>List the contacts of the campaign
Options:
--limit <n>: how many rows to return (default: "100")--skip <n>: rows to skip (default: "0")
Examples:
avair campaigns contacts list CAMPAIGN_IDavair campaigns contacts list CAMPAIGN_ID --limit 100avair campaigns contacts import-preview <id>
Section titled avair campaigns contacts import-preview <id>Show the columns and row count of a CSV; nothing is sent, so it cannot see Do Not Contact rows or the contact limit (contacts add --wait reports those)
Options:
--file <csv>: a CSV with a header row. Needs an email column; optional: first name, last name (or one name column), phone, title, company, LinkedIn URL, website, industry. Header names are matched loosely, ignoring case
Examples:
avair campaigns contacts import-preview CAMPAIGN_ID --file contacts.csvavair campaigns contacts add <id>
Section titled avair campaigns contacts add <id>Upload a CSV of contacts into the campaign. With --wait, prints how many were added and which rows were left out, and why
Options:
--file <csv>: a CSV with a header row. Needs an email column; optional: first name, last name (or one name column), phone, title, company, LinkedIn URL, website, industry. Header names are matched loosely, ignoring case; rows without a valid email are skipped--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns contacts add CAMPAIGN_ID --file contacts.csvavair campaigns contacts add CAMPAIGN_ID --file contacts.csv --waitavair campaigns contacts remove <id>
Section titled avair campaigns contacts remove <id>Remove contacts from the campaign (needs --yes)
Options:
--contact <ids>: comma-separated contact ids
Examples:
avair campaigns contacts remove CAMPAIGN_ID --contact CONTACT_ID --yesavair campaigns contacts remove CAMPAIGN_ID --contact CONTACT_ID,CONTACT_ID --yesavair campaigns contacts find-more <id>
Section titled avair campaigns contacts find-more <id>Look for more contacts
Examples:
avair campaigns contacts find-more CAMPAIGN_IDavair campaigns contacts approve <id>
Section titled avair campaigns contacts approve <id>Finalize contacts (alias of campaigns finalize)
Examples:
avair campaigns contacts approve CAMPAIGN_IDavair campaigns contacts verify <id>
Section titled avair campaigns contacts verify <id>Check the contact emails before launch
Options:
--all: verify every contact, not only unverified ones--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns contacts verify CAMPAIGN_ID --waitavair campaigns contacts verify CAMPAIGN_ID --allavair campaigns contacts remove-unverified <id>
Section titled avair campaigns contacts remove-unverified <id>Remove contacts that failed the email check (needs --yes)
Options:
--no-red: keep RED contacts--yellow: also remove YELLOW contacts
Examples:
avair campaigns contacts remove-unverified CAMPAIGN_ID --yesavair campaigns contacts remove-unverified CAMPAIGN_ID --yellow --yesavair campaigns contacts skip-verify <id>
Section titled avair campaigns contacts skip-verify <id>Attest that contacts need no verification (needs --yes)
Examples:
avair campaigns contacts skip-verify CAMPAIGN_ID --yesavair campaigns phones classify <id>
Section titled avair campaigns phones classify <id>Classify each phone number from its TCPA checks
Examples:
avair campaigns phones classify CAMPAIGN_IDavair campaigns phones status <id>
Section titled avair campaigns phones status <id>Show the phone check results
Examples:
avair campaigns phones status CAMPAIGN_IDavair campaigns finalize <id>
Section titled avair campaigns finalize <id>Finalize the contacts step
Examples:
avair campaigns finalize CAMPAIGN_IDavair campaigns overview confirm <id>
Section titled avair campaigns overview confirm <id>Confirm the campaign overview
Examples:
avair campaigns overview confirm CAMPAIGN_IDavair campaigns mailboxes list <id>
Section titled avair campaigns mailboxes list <id>List the mailboxes for this campaign
Examples:
avair campaigns mailboxes list CAMPAIGN_IDavair campaigns mailboxes set <id>
Section titled avair campaigns mailboxes set <id>Choose the mailboxes for this campaign
Options:
--mailbox <ids>: comma-separated mailbox ids--warmup: enable warmup on these mailboxes--campaign-version <n>: the campaign version you read
Examples:
avair campaigns mailboxes set CAMPAIGN_ID --mailbox MAILBOX_IDavair campaigns mailboxes set CAMPAIGN_ID --mailbox MAILBOX_ID,MAILBOX_ID --warmupavair campaigns whatsapp-numbers set <id>
Section titled avair campaigns whatsapp-numbers set <id>Set the WhatsApp numbers from a JSON file
Options:
--input <file>: JSON body for the WhatsApp numbers
Examples:
avair campaigns whatsapp-numbers set CAMPAIGN_ID --input whatsapp-numbers.jsonavair campaigns prepare <id>
Section titled avair campaigns prepare <id>Build the campaign up to launchable (same as build --stop-at launchable)
Examples:
avair campaigns prepare CAMPAIGN_IDavair campaigns readiness <id>
Section titled avair campaigns readiness <id>Show what blocks launch, with the launch score verdict and its must-fix items
Examples:
avair campaigns readiness CAMPAIGN_IDavair campaigns launch <id>
Section titled avair campaigns launch <id>Start sending the campaign (needs --yes). Lists open must-fix items first
Examples:
avair campaigns launch CAMPAIGN_ID --yesavair campaigns test <id>
Section titled avair campaigns test <id>Run a test of the campaign (needs --yes)
Options:
--quick: quick test, 2 touches (default)--full: full test: every step of the sequence, 5 minutes apart--type <type>: quick or full
Examples:
avair campaigns test CAMPAIGN_ID --quick --yesavair campaigns test CAMPAIGN_ID --full --yesavair campaigns pause <id>
Section titled avair campaigns pause <id>Pause a running campaign
Examples:
avair campaigns pause CAMPAIGN_IDavair campaigns resume <id>
Section titled avair campaigns resume <id>Resume a paused campaign (needs --yes)
Examples:
avair campaigns resume CAMPAIGN_ID --yesavair campaigns cancel <id>
Section titled avair campaigns cancel <id>Cancel the campaign (needs --yes)
Examples:
avair campaigns cancel CAMPAIGN_ID --yesavair campaigns copy <id>
Section titled avair campaigns copy <id>Copy the campaign as a new draft, without its contacts
Examples:
avair campaigns copy CAMPAIGN_IDavair campaigns delete <id>
Section titled avair campaigns delete <id>Delete a draft (needs --yes)
Examples:
avair campaigns delete CAMPAIGN_ID --yesavair campaigns retry <id>
Section titled avair campaigns retry <id>Retry a failed generation
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair campaigns retry CAMPAIGN_ID --waitavair campaigns share enable <id>
Section titled avair campaigns share enable <id>Turn on the share page
Examples:
avair campaigns share enable CAMPAIGN_IDavair campaigns share status <id>
Section titled avair campaigns share status <id>Show the share page status
Examples:
avair campaigns share status CAMPAIGN_IDavair campaigns download <id>
Section titled avair campaigns download <id>Download the campaign as a ZIP file
Options:
-o, --output <file>: where to write the ZIP--platforms <csv>: comma-separated platform folders to include
Examples:
avair campaigns download CAMPAIGN_ID --output campaign.zipavair campaigns activity <id>
Section titled avair campaigns activity <id>Show recent campaign activity and agent actions
Options:
--limit <n>: how many rows to return (default: "50")
Examples:
avair campaigns activity CAMPAIGN_IDavair campaigns activity CAMPAIGN_ID --limit 20contacts
Section titled contactsShow and update one contact
avair contacts show <id>
Section titled avair contacts show <id>Show one contact
Examples:
avair contacts show CONTACT_IDavair contacts update <id>
Section titled avair contacts update <id>Change a contact status or notes (other fields are refused for agents)
Options:
--status <status>: the new contact status--notes <text>: notes to save on the contact
Examples:
avair contacts update CONTACT_ID --notes "Asked for a call next week"avair contacts update CONTACT_ID --status INTERESTEDavair contacts persona <id>
Section titled avair contacts persona <id>Set which version of the content the contact gets: leadership, operational or auto (from the title)
Options:
--persona <persona>: leadership, operational or auto
Examples:
avair contacts persona CONTACT_ID --persona leadershipavair contacts persona CONTACT_ID --persona autoavair contacts personalization show <id>
Section titled avair contacts personalization show <id>Show the facts and opener lines
Examples:
avair contacts personalization show CONTACT_ID --jsonavair contacts personalization set <id>
Section titled avair contacts personalization set <id>Replace the opener lines with your own, and/or turn the referral ask on or off (before launch only)
Options:
--line <text>: an opener line; repeat for up to 3 lines--clear-lines: remove all opener lines--referral <onOff>: on or off: whether email 1 asks this contact for a referral
Examples:
avair contacts personalization set CONTACT_ID --line "Saw your post on scaling field service."avair contacts personalization set CONTACT_ID --referral onavair contacts preview <id>
Section titled avair contacts preview <id>Show every step of the campaign as this contact will receive it
Examples:
avair contacts preview CONTACT_IDavair contacts preview CONTACT_ID --jsonavair contacts activity <id>
Section titled avair contacts activity <id>Show the outreach activity for a contact
Examples:
avair contacts activity CONTACT_IDtasks
Section titled tasksWork the manual task queue
avair tasks list
Section titled avair tasks listList your manual tasks
Options:
--limit <n>: page size (default: "50")--page <n>: page number, starting at 1 (default: "1")--completed: completed tasks instead of open ones--channel <channel>: only tasks of this channel--campaign-id <id>: only tasks of this campaign
Examples:
avair tasks listavair tasks list --channel EMAIL --limit 20avair tasks list --completed --page 2avair tasks show <id>
Section titled avair tasks show <id>Show one task
Examples:
avair tasks show TASK_IDavair tasks start <id>
Section titled avair tasks start <id>Claim a task and start working on it
Examples:
avair tasks start TASK_IDavair tasks complete <id>
Section titled avair tasks complete <id>Mark a task done with its outcome
Options:
--outcome <outcome>: the result of the task--notes <notes>: notes to save on the task
Examples:
avair tasks complete TASK_ID --outcome COMPLETED --notes "Left a voicemail"avair tasks skip <id>
Section titled avair tasks skip <id>Skip a task
Options:
--reason <reason>: why the task is skipped
Examples:
avair tasks skip TASK_ID --reason "Wrong person"avair tasks reply <id>
Section titled avair tasks reply <id>Decide on a drafted reply (sending it needs --yes)
Options:
--decision <decision>: APPROVE, REJECT, EDIT or SEND_TEMPLATE--draft-version <n>: the version from reply-draft--subject <subject>: the new subject, for EDIT--body <body>: the new body, for EDIT
Examples:
avair tasks reply TASK_ID --decision REJECT --draft-version 1avair tasks reply TASK_ID --decision APPROVE --draft-version 1 --yesavair tasks reply-draft <id>
Section titled avair tasks reply-draft <id>Show the drafted reply for a task
Examples:
avair tasks reply-draft TASK_IDavair tasks reply-decide <id>
Section titled avair tasks reply-decide <id>Send or discard a drafted reply (--send needs --yes)
Options:
--send: send the drafted reply (needs --yes)--discard: discard the draft--draft-version <n>: the version from reply-draft--subject <subject>: send this subject instead--body <body>: send this body instead
Examples:
avair tasks reply-decide TASK_ID --send --draft-version 1 --yesavair tasks reply-decide TASK_ID --discard --draft-version 1events
Section titled eventsCampaign, contact or activity changes
avair events list
Section titled avair events listRead changes from the feed, page by page
Options:
--type <type>: campaigns, contacts or activities--cursor <cursor>: continue after this position--status <status>: only changes with this status--campaign-id <id>: only changes of this campaign--limit <n>: page size (default: "50")--follow: keep reading new changes until stopped
Examples:
avair events list --type campaignsavair events list --type activities --campaign-id CAMPAIGN_ID --limit 100avair events list --type contacts --followcompanies
Section titled companiesCompany Knowledge: profile, defaults, use cases, documents, messaging
avair companies list
Section titled avair companies listList your companies
Options:
--include-archived: also list archived companies
Examples:
avair companies listavair companies list --include-archivedavair companies show <id>
Section titled avair companies show <id>Show one company
Examples:
avair companies show COMPANY_IDavair companies fill <id>
Section titled avair companies fill <id>Read the company's website into its profile
Options:
--website <url>: the company website to read--overwrite-edited: also replace fields a person edited--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair companies fill COMPANY_ID --website https://example.com --waitavair companies fill COMPANY_ID --website example.com --overwrite-editedavair companies profile edit <id>
Section titled avair companies profile edit <id>Replace the company profile from a JSON file
Options:
--input <file>: JSON profile (or {"profile": …, "website_url": …})
Examples:
avair companies profile edit COMPANY_ID --input profile.jsonavair companies defaults show <id>
Section titled avair companies defaults show <id>Show the default campaign settings
Examples:
avair companies defaults show COMPANY_IDavair companies defaults edit <id>
Section titled avair companies defaults edit <id>Replace the default campaign settings from a JSON file (not the standard sequence: use defaults sequence set)
Options:
--input <file>: JSON defaults (or {"defaults": …})
Examples:
avair companies defaults edit COMPANY_ID --input defaults.jsonavair companies defaults sequence set <id>
Section titled avair companies defaults sequence set <id>Set the standard sequence from a JSON file of steps, or go back to the app standard
Options:
--input <file>: JSON array of steps (or {"steps": […]})--app-default: use the app's standard sequence again
Examples:
avair companies defaults sequence set COMPANY_ID --input steps.jsonavair companies defaults sequence set COMPANY_ID --app-defaultavair companies use-cases list <id>
Section titled avair companies use-cases list <id>List the use cases
Options:
--include-archived: also list archived use cases
Examples:
avair companies use-cases list COMPANY_IDavair companies use-cases list COMPANY_ID --include-archivedavair companies use-cases add <id>
Section titled avair companies use-cases add <id>Add a use case from text or from a file
Options:
--title <title>: the use case title--text <text>: the use case story as text (or use --file)--file <path>: a document to read the story from (or use --text)
Examples:
avair companies use-cases add COMPANY_ID --title "Faster onboarding" --text "A customer cut onboarding time in half."avair companies use-cases add COMPANY_ID --title "Faster onboarding" --file story.docxavair companies use-cases edit <id> <useCaseId>
Section titled avair companies use-cases edit <id> <useCaseId>Change the title or text of a use case
Options:
--title <title>: the new title--text <text>: the new story text
Examples:
avair companies use-cases edit COMPANY_ID USE_CASE_ID --title "Faster onboarding"avair companies use-cases archive <id> <useCaseId>
Section titled avair companies use-cases archive <id> <useCaseId>Archive a use case
Examples:
avair companies use-cases archive COMPANY_ID USE_CASE_IDavair companies documents list <id>
Section titled avair companies documents list <id>List the documents
Examples:
avair companies documents list COMPANY_IDavair companies documents show <id> <documentId>
Section titled avair companies documents show <id> <documentId>Show one document
Examples:
avair companies documents show COMPANY_ID DOCUMENT_IDavair companies documents upload <id>
Section titled avair companies documents upload <id>Upload a document for the company
Options:
--file <path>: the file to upload--title <title>: the document title (default: the file name)--kind <kind>: document kind, e.g. PRICING or MESSAGING--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair companies documents upload COMPANY_ID --file pricing.pdf --kind PRICING --waitavair companies documents upload COMPANY_ID --file brochure.pdf --title "Product brochure"avair companies documents retry <id> <documentId>
Section titled avair companies documents retry <id> <documentId>Read a document again after it failed
Examples:
avair companies documents retry COMPANY_ID DOCUMENT_IDavair companies messaging show <id>
Section titled avair companies messaging show <id>Show the messaging framework
Examples:
avair companies messaging show COMPANY_IDavair companies messaging build <id>
Section titled avair companies messaging build <id>Build the messaging framework from the website and documents
Options:
--overwrite-edited: also replace sections a person edited--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair companies messaging build COMPANY_ID --waitavair companies messaging build COMPANY_ID --overwrite-editedavair companies messaging export <id>
Section titled avair companies messaging export <id>Download the messaging framework as a .docx file
Options:
-o, --output <file>: where to write the .docx
Examples:
avair companies messaging export COMPANY_ID --output messaging.docxplaybooks
Section titled playbooksPlan, build and run playbooks
avair playbooks list
Section titled avair playbooks listList playbooks
Examples:
avair playbooks listavair playbooks show <id>
Section titled avair playbooks show <id>Show one playbook
Examples:
avair playbooks show PLAYBOOK_IDavair playbooks status <id>
Section titled avair playbooks status <id>Show the analysis status of a playbook
Examples:
avair playbooks status PLAYBOOK_IDavair playbooks create
Section titled avair playbooks createCreate a playbook from a website
Options:
--website <url>: the company website to plan from--revenue <amount>: annual revenue goal--deal-size <amount>: average deal size--icp-notes <text>: notes about the ideal customer--no-analyze: create without starting the analysis--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair playbooks create --website https://example.com --waitavair playbooks create --website example.com --revenue 1000000 --deal-size 25000 --icp-notes "Mid-size software firms in Texas"avair playbooks analyze <id>
Section titled avair playbooks analyze <id>Start the analysis of a playbook
Options:
--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair playbooks analyze PLAYBOOK_ID --waitavair playbooks refine <id>
Section titled avair playbooks refine <id>Change the plan with written instructions
Options:
--text <instructions>: what to change in the plan--size-to-goal: size the plan to the goal--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair playbooks refine PLAYBOOK_ID --text "Focus on the United States" --waitavair playbooks refine PLAYBOOK_ID --text "Fit the plan to the goal" --size-to-goalavair playbooks goal show <id>
Section titled avair playbooks goal show <id>Show the revenue goal
Examples:
avair playbooks goal show PLAYBOOK_IDavair playbooks goal set <id>
Section titled avair playbooks goal set <id>Set the revenue goal and the funnel it needs
Options:
--revenue <amount>: annual revenue goal--deal-size <amount>: average deal size--rates <mql,opportunity,proposal>: your own funnel rates, as three percentages
Examples:
avair playbooks goal set PLAYBOOK_ID --revenue 1000000 --deal-size 25000avair playbooks goal set PLAYBOOK_ID --revenue 1000000 --deal-size 25000 --rates 20,30,25avair playbooks pace set <id>
Section titled avair playbooks pace set <id>Set the pace for the team
Options:
--per-person <n>: campaigns per person per period--auto: let the plan set each person's pace
Examples:
avair playbooks pace set PLAYBOOK_ID --per-person 3avair playbooks pace set PLAYBOOK_ID --autoavair playbooks team list <id>
Section titled avair playbooks team list <id>List the people
Examples:
avair playbooks team list PLAYBOOK_IDavair playbooks team add <id>
Section titled avair playbooks team add <id>Add a person
Options:
--name <name>: the name of the person
Examples:
avair playbooks team add PLAYBOOK_ID --name "Jane Doe"avair playbooks team rename <id> <participantId>
Section titled avair playbooks team rename <id> <participantId>Rename a person
Options:
--name <name>: the new name
Examples:
avair playbooks team rename PLAYBOOK_ID PARTICIPANT_ID --name "Jane Doe"avair playbooks team runs <id> <participantId>
Section titled avair playbooks team runs <id> <participantId>Set whether this person runs campaigns
Options:
--on: this person runs campaigns--off: this person does not run campaigns--check: show the effect without saving
Examples:
avair playbooks team runs PLAYBOOK_ID PARTICIPANT_ID --onavair playbooks team runs PLAYBOOK_ID PARTICIPANT_ID --off --checkavair playbooks items list <id>
Section titled avair playbooks items list <id>List the items
Examples:
avair playbooks items list PLAYBOOK_IDavair playbooks items set <id> <itemId>
Section titled avair playbooks items set <id> <itemId>Change the state, priority or owner of an item
Options:
--state <state>: the new state--priority <n>: the new priority number--assign <participantId>: the person who owns the item
Examples:
avair playbooks items set PLAYBOOK_ID ITEM_ID --state ACCEPTEDavair playbooks items set PLAYBOOK_ID ITEM_ID --priority 1 --assign PARTICIPANT_IDavair playbooks items bulk-state <id>
Section titled avair playbooks items bulk-state <id>Set the same state on several items
Options:
--items <ids>: comma-separated item ids--state <state>: the new state
Examples:
avair playbooks items bulk-state PLAYBOOK_ID --items ITEM_ID,ITEM_ID --state ACCEPTEDavair playbooks items build <id> <itemId>
Section titled avair playbooks items build <id> <itemId>Build one campaign from the plan (needs --yes)
Examples:
avair playbooks items build PLAYBOOK_ID ITEM_ID --yesavair playbooks items cancel <id> <itemId>
Section titled avair playbooks items cancel <id> <itemId>Cancel an item
Examples:
avair playbooks items cancel PLAYBOOK_ID ITEM_IDavair playbooks build-all <id>
Section titled avair playbooks build-all <id>Build every proposed or accepted item (needs --yes)
Examples:
avair playbooks build-all PLAYBOOK_ID --yesavair playbooks versions list <id>
Section titled avair playbooks versions list <id>List the versions
Examples:
avair playbooks versions list PLAYBOOK_IDavair playbooks versions restore <id> <versionId>
Section titled avair playbooks versions restore <id> <versionId>Restore an earlier version of the plan
Examples:
avair playbooks versions restore PLAYBOOK_ID VERSION_IDavair playbooks automation on <id>
Section titled avair playbooks automation on <id>Turn automation on (needs --yes)
Options:
--execute: build and launch (default: build only)
Examples:
avair playbooks automation on PLAYBOOK_ID --yesavair playbooks automation on PLAYBOOK_ID --execute --yesavair playbooks automation off <id>
Section titled avair playbooks automation off <id>Turn automation off (no --yes needed)
Examples:
avair playbooks automation off PLAYBOOK_IDavair playbooks automation check <id>
Section titled avair playbooks automation check <id>What would block automation
Options:
--execute: check build and launch, not only build
Examples:
avair playbooks automation check PLAYBOOK_IDavair playbooks automation check PLAYBOOK_ID --executetools
Section titled toolsQuote and run Avair data tools
avair tools credits
Section titled avair tools creditsShow your Tools credit balance
Examples:
avair tools creditsavair tools balance
Section titled avair tools balanceShow your Tools credit balance
Examples:
avair tools balanceavair tools runs list
Section titled avair tools runs listList Tools runs
Options:
--tool-type <type>: only runs of this tool--status <status>: only runs with this status--mine: only your own runs--limit <n>: page size (default: "20")
Examples:
avair tools runs listavair tools runs list --mine --status COMPLETED --limit 10avair tools runs show <runId>
Section titled avair tools runs show <runId>Show one Tools run
Examples:
avair tools runs show RUN_IDavair tools runs export <runId>
Section titled avair tools runs export <runId>Download the results of a run as a CSV file
Options:
-o, --output <file>: where to write the CSV
Examples:
avair tools runs export RUN_ID --output results.csvavair tools runs cancel <runId>
Section titled avair tools runs cancel <runId>Stop future work of a Tools run
Examples:
avair tools runs cancel RUN_IDavair tools list
Section titled avair tools listList Tools runs
Options:
--tool-type <type>: only runs of this tool--status <status>: only runs with this status--mine: only your own runs--limit <n>: page size (default: "20")
Examples:
avair tools listavair tools list --tool-type find-accounts --mineavair tools status <runId>
Section titled avair tools status <runId>Show one Tools run
Examples:
avair tools status RUN_IDavair tools results <runId>
Section titled avair tools results <runId>Show the results of a Tools run
Examples:
avair tools results RUN_IDavair tools cancel <runId>
Section titled avair tools cancel <runId>Stop future work of a Tools run
Examples:
avair tools cancel RUN_IDavair tools find-accounts quote
Section titled avair tools find-accounts quoteShow the credit cost without starting a run
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--website <url>: your company website, used to find matching accounts--cap <n>: most accounts to find (up to 40; 5 on a trial) (default: "10")--industries <csv>: comma-separated industries to look in--sizes <csv>: comma-separated company sizes--locations <csv>: comma-separated places
Examples:
avair tools find-accounts quote --website example.comavair tools find-accounts quote --website example.com --cap 20 --industries "Software,Fintech" --locations "Texas,Ohio"avair tools find-accounts start
Section titled avair tools find-accounts startStart a run and reserve its credits (needs --yes)
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--website <url>: your company website, used to find matching accounts--cap <n>: most accounts to find (up to 40; 5 on a trial) (default: "10")--industries <csv>: comma-separated industries to look in--sizes <csv>: comma-separated company sizes--locations <csv>: comma-separated places--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair tools find-accounts start --website example.com --yesavair tools find-accounts start --website example.com --cap 20 --sizes "51-200" --wait --yesavair tools find-contacts quote
Section titled avair tools find-contacts quoteShow the credit cost without starting a run
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--account <name>: the company name--titles <csv>: comma-separated job titles to look for--domain <domain>: the company web domain--depth <n>: most contacts to find for the account (up to 15; 5 on a trial) (default: "15")
Examples:
avair tools find-contacts quote --account "Example Inc" --titles "VP Sales,Head of Marketing"avair tools find-contacts start
Section titled avair tools find-contacts startStart a run and reserve its credits (needs --yes)
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--account <name>: the company name--titles <csv>: comma-separated job titles to look for--domain <domain>: the company web domain--depth <n>: most contacts to find for the account (up to 15; 5 on a trial) (default: "15")--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair tools find-contacts start --account "Example Inc" --titles "VP Sales" --yesavair tools find-contacts start --account "Example Inc" --titles "VP Sales,Head of Marketing" --domain example.com --depth 10 --wait --yesavair tools enrich-contacts quote
Section titled avair tools enrich-contacts quoteShow the credit cost without starting a run
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--company <name>: the company name--first-name <name>: the contact first name--last-name <name>: the contact last name--email <email>: the contact email--domain <domain>: the company web domain--linkedin <url>: the contact LinkedIn profile URL
Examples:
avair tools enrich-contacts quote --company "Example Inc" --email jane@example.comavair tools enrich-contacts start
Section titled avair tools enrich-contacts startStart a run and reserve its credits (needs --yes)
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--company <name>: the company name--first-name <name>: the contact first name--last-name <name>: the contact last name--email <email>: the contact email--domain <domain>: the company web domain--linkedin <url>: the contact LinkedIn profile URL--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair tools enrich-contacts start --company "Example Inc" --email jane@example.com --yesavair tools enrich-contacts start --company "Example Inc" --first-name Jane --last-name Doe --linkedin https://www.linkedin.com/in/example --wait --yesavair tools phone-tcpa-check quote
Section titled avair tools phone-tcpa-check quoteShow the credit cost without starting a run
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--phone <number>: the phone number to check
Examples:
avair tools phone-tcpa-check quote --phone "+1 555 010 0100"avair tools phone-tcpa-check start
Section titled avair tools phone-tcpa-check startStart a run and reserve its credits (needs --yes)
Options:
--idempotency-key <key>: a retry with the same key and the same request returns the same run, not a second one; default: a new random key each run--phone <number>: the phone number to check--wait: wait until the server finishes this step--timeout <seconds>: give up waiting after this many seconds (default: "900")
Examples:
avair tools phone-tcpa-check start --phone "+1 555 010 0100" --yesCall an agent API route directly (unsupported contract: routes and fields may change without a CLI release); api list [--filter] and api describe METHOD PATH read the runtime spec
avair api <method> [path] [routePath]
Section titled avair api <method> [path] [routePath]Call an agent API route directly (unsupported contract: routes and fields may change without a CLI release); api list [--filter] and api describe METHOD PATH read the runtime spec
Options:
--body <json>: JSON body as text--input <file>: JSON body from a file--filter <text>: for api list: only routes that match this text
Examples:
avair api GET /users/meavair api list --filter campaignsavair api describe GET /campaigns/Connect an AI app to Avair over MCP
avair mcp setup
Section titled avair mcp setupAdd Avair to the MCP settings of an AI app
Options:
--client <name>: claude-code, cursor, codex, claude-desktop, claude-ai or chatgpt (cursor and codex: writes a config file; claude-code: runs claude mcp add when claude is installed; the others: prints instructions)--print: show the change and write nothing--force: replace an existing Avair entry
Examples:
avair mcp setup --client claude-codeavair mcp setup --client cursor --printavair mcp setup --client codex --forceskill
Section titled skillAgent skills for Avair
avair skill install
Section titled avair skill installCopy the Avair skills into the skills folder of an agent
Options:
--agent <agent>: claude-code or codex--dir <path>: install into this folder instead--force: replace skill folders that already exist
Examples:
avair skill install --agent claude-codeavair skill install --dir ./skills --force