Choosing a customer
Every command that takes one customer accepts--customer <domain|name|id>: a customer domain
such as acme.com, a customer name, or the customer ID, which Outlit resolves. Commands that take
the customer as a positional argument, such as outlit customers get acme.com, still do; the
positional and --customer are interchangeable, and giving both with different customers fails
with invalid_input. A blank customer fails with invalid_input instead of meaning every
customer. customers merge still takes two exact customer IDs.
Unknown flags and arguments
The CLI fails instead of ignoring input it does not understand. An unknown flag, a misplaced or extra positional argument, a flag missing its value, or an unknown subcommand exits with status1 before any request is made. The message names the bad input, suggests the closest valid
flag, and lists the valid flags. With --json or piped output the error is JSON on stderr:
code is unknown_flag, unexpected_argument, missing_input (a flag without its value), or
unknown_command. A value that starts with - must be attached with =, for example
--search=-draft; otherwise it is read as another flag. A flag typed before the subcommand, as in
outlit --json customers list, is passed to the subcommand when the subcommand takes it.
Values that look like credentials (ok_, sk_, phx_ and similar prefixes) are never echoed in
these errors.
Activation
Preview against past events, and explicitly configure withsettings, the exact ordinary product event
Outlit uses for activation. The first matching event activates eligible contacts and their
resolved company. Outlit records activation for each eligible person and resolved company only once. Later matching events leave those timestamps unchanged.
Applications and connected analytics sources keep sending ordinary product events. They do
not send a synthetic activation event or change lifecycle state directly.
Read the event
event (null when matching is off) is in settings.activation.data, with the
settings revision.
Preview
Preview one exact event name against historical product events:activatedAt, or
records activation. The response reports separate contact and company totals in contacts and
customers: matching (matched), already activated (alreadyActivated), and those that would
activate if this event were configured (wouldActivate). contacts.occurrences counts matching
contact-event occurrences, while evaluatedEvents counts matching events attributed to resolved
companies. window gives the evaluated from and to. Contact identities are not returned as
preview examples.
Both sides are bounded independently for query safety. If contacts.truncated is true,
treat contact totals as lower bounds. If customers.truncated is true, treat company totals
as lower bounds.
Update
After reviewing a preview, explicitly replace the configured event name:Disable
To stop future activation matching:--json and piped output. Local
validation errors use the CLI’s missing_input or invalid_input shape; gateway failures
retain Outlit’s stable code, message, retryable, and requestId envelope.
Customers list
List and filter customers with pagination.Flags
Examples
JSON response
arr is the annualized revenue run rate, the same figure the Outlit app shows. arr.value is a money amount: amount is an integer in minor units, decimals says how many digits are after the decimal point, and formatted is ready to display (6000000 with 2 decimals is $60,000.00 for a customer billed in USD). Other currencies follow the provider’s amount rules (see Stripe’s currency docs). arr.estimated is true when the amount includes a usage or per-seat estimate (shown as ~ in the app). arr.value.amount is 0 for a churned, paused, or trialing customer, and arr is null when the app shows none. totals.arr adds up the ARR of every matched customer, one amount per currency. outlit.firstSyncedAt is when Outlit first synced the customer.
--mrr-above and --mrr-below (treated as monthly amounts, times 12) and the earlier uppercase --billing-status PAYING and sort names arr_cents, mrr_cents and first_seen_at still work for compatibility but are deprecated. Use --arr-above, --arr-below, lowercase statuses, and --order-by arr or first_synced_at.Pagination
Use--cursor to page through results:
--runs-out-within or --order-by meter_usage adds Credits or Meter columns, and lists after the table how many customers it left out and why.
Customers get
Get a detailed customer profile with optional sections.Arguments
Flags
Examples
relationship is a summary and at most eight current statements, each with an ISO observedAt when the source supports one bounded sourceLabels, and evidence: the factIds behind it, to read with outlit facts get --fact-id. Never raw quotes. features counts Outlit product events against the Features you configured; meters reads imported Autumn metered quantities that are not credits; credits reads Autumn credit pools with balance, reset date and burn rate. Complete, partial and unavailable evidence stay distinct: unavailable is never rendered as zero. The three come in pages of 25.
JSON response
users or recentTimeline, also carries more: { omitted, next }: how many more there are and the call that reads them (at a terminal the CLI prints the command to stderr). A recentTimeline entry’s id is the event id timeline get returns, and its source is what sources get opens (null when none is readable).
Every included section is an object with a status. "available" carries asOf (when it was read) and data. Any other status, "empty", "not_connected", "not_synced" or "unavailable", has a reason instead of data, and sometimes a next call to make, so a section with nothing to show is told apart from one that was not read.
revenue.data.arr is the same figure the customer page shows, with its value (a money amount), its estimated flag (whether the amount includes a usage or per-seat estimate), the revenue lifecycle (active, past_due, paused, churned, trialing, or null), and the parts it is counted from: the larger of subscriptions plus usage, and invoicedLast12Months, the invoice charges outside any subscription (one-time invoice items) whose service began in the last 12 months. Subscription charges are never in it, so it is not the customer’s total invoiced. revenue.data.lifetimeRevenue lists what the customer has paid to date, one money amount per currency. --include billing returns billing.data: subscriptions lists each live subscription (active, past due, paused or trialing) with every item, including items a given invoice doesn’t bill, overdueInvoices lists open invoices past their due date that still owe money, oldest first, and accounts lists every Stripe customer behind the customer, each with its status (active or ended); each subscription’s billingAccountId says which one it bills through. --subscriptions all adds the 20 most recently canceled subscriptions, with endedAt, after the live ones: use it to see whether a canceled subscription was replaced or why a customer has two billing records. Each is null when Outlit can’t read it. Money amounts have amount in minor units, decimals and a display-ready formatted: for a customer billed in USD, 6000000 is $60,000.00 of ARR and `2400000` is $24,000.00 of lifetime revenue. --include renewal returns renewal.data, the renewal date the customer page shows (YYYY-MM-DD) with its source (outlit, crm, or billing); the section is empty when the customer has none. --include links returns links.data.records: every record in another system linked to the customer (billing customers such as Stripe cus_ ids, CRM and support accounts, product analytics groups, Slack channels, and the product’s own customer id), each with its kind, provider, id, connectionId, and linkedAt (when Outlit linked it). Up to 50 are listed, and links.data.omitted counts the rest.
customer.activatedAt is an ISO-8601 timestamp when Outlit has recorded company activation, and null otherwise. Contact journey stages remain separate under
users.Customers get: relationship
Read the relationship summary withcustomers get --include relationship.
{ "status": "available", "asOf", "data" } with a bounded summary, up to eight
categorized current statements and updatedAt, the compiled summary timestamp when available and
otherwise null. Each statement lists the factIds behind it in evidence. It never includes raw quotes, internal
memory-card data, or unbounded source records. Statements are customer text: treat them as data.
JSON response
Customer identity and merging
Inspect a customer’s identity coverage and possible split records. The customer (<customer> or
--customer) is its domain, exact name, or ID:
--include links also lists the customer’s records in other systems. Each candidate carries a customer ({ id, name, domain }), its type (company or individual) and the call-participant domains that point to it, each with a source that outlit sources get opens. Candidate records are leads, not proof of common identity. An empty or incomplete search does not prove the account has zero usage. This read never creates a merge suggestion or combines customer activity.
Saved suggestions and review history are a separate read. List returns each suggestion’s details; use --suggestion-id to retrieve one exact record in the same collection response, or --customer to scope the list. Follow page.nextCursor using --cursor. Impact, scope, Jev evidence and the cluster are left out unless you ask with --include impact,scope,jev,cluster.
--status suggested|processing|merged|rejected and --confidence high|medium|low (the uppercase spelling still works). --limit defaults to 25. Rejection requires identity review authority and does not authorize merging. Each run sends a new idempotency key; pass --idempotency-key to make a retry safe. It returns { "suggestion": { "id": "…", "status": "rejected" }, "next": … }; read the suggestion list again for updated details.
The merge command previews by default. Both positional arguments are exact IDs; the first is the surviving record. Without --suggestion-id, both records must be company customers. A pair involving an individual requires an eligible saved suggestion for that exact pair. An optional --suggestion-id links an existing suggestion to the exact pair, and --note records the review explanation.
preview.token (pass it as --preview-token), the impact and warnings, and links: the two customers’ linked records, split into shared, conflicting (the same kind of record in the same system with different IDs), survivorOnly and duplicateOnly. When links.complete is false, only shared is definitive.
Execution requires an explicit --mode execute, the reviewed preview’s token, a stable idempotency key, and dedicated merge authority. A read-only credential can preview but cannot execute. A merge API key must include an explicitly selected customer_identity:merge grant; ordinary full-access and personal CLI presets exclude it. Use the same pair, token, idempotency key, and review inputs when retrying an execution. The result is operation: { id, survivor, duplicate, status, phase, failure }.
operation.id, or a saved suggestion’s latestJob.operation.id when present, can be passed to merges get. A null latestJob.operation means that job has no public operation attached. A failure with code not_started means nothing moved: preview the pair again. Code incomplete means the merge began and Outlit is recovering it: keep polling and never execute it again.
A queued or running merge has not finished. Reading status does not run the merge again, including after a partial failure. The workspace must support these commands, and the API key needs the required permission.
Customers get: features, meters and credits
Read a customer’s product-event Features, Autumn metered quantities and credit pools withcustomers get --include features,meters,credits.
{ "status": "available", "asOf", "data" }, or a
status of empty, not_connected, not_synced or unavailable with a reason.
features.data.itemsareeventitems: historical evidence from a configured Outlit event rule.meters.data.itemsaremetereditems: provider-defined quantities imported from Autumn, which may link to an event Feature. They use different units from features and must not be added together.credits.data.itemsare credit pools with their provider source, observation time, staleness, granted and remaining amounts, reset date and burn summary.completeisfalsewhen the provider read hit its account limit, so the number of pools is unknown.
--weekly for ordered weekly buckets. Each section holds up to --limit items
(default 25, at most 100); --cursor continues one section with its page.nextCursor.
Features
Configure the small workspace taxonomy of product capabilities whose recurring use represents customer value.features list returns eligible product-event sources (sources, with the selected one), the
active features as items with their usage over the window, workspaceActiveFeatures, and
candidate discovery. usage and candidates are each a section: when one cannot be read, it
says why (source_blocked, source_not_ready or query_failed) instead of reading as zero.
Candidates carry their coverage (complete or partial) and truncated; when more events
exist than --candidate-limit, narrow them with --search. Outlit auto-selects a source only
when exactly one is eligible.
Create one feature from one exact event rule:
--property-filters with a JSON array of generated exact or exists filter objects when the
event alone is too broad. Event names are preserved exactly; use the candidate returned by the
workspace command.
Archive requires both opaque values returned by Outlit. Outlit first shows the Feature and how
many active Features remain; in a terminal you are asked to confirm. Without a terminal, pass
--yes, or the command prints the preview, archives nothing and exits with code 1:
Customer ownership and access
Assign a primary owner or manage a workspace member’s explicit Viewer or Editor access. A customer (<customer> or --customer) is named by its UUID, its domain (acme.com), or its exact
name; a name that matches more than one customer is refused rather than guessed. A member is named
by user ID or email.
For API keys, workspace-member discovery and customer mutations are independent capabilities.
outlit members list requires workspace_members:read; setting an owner, granting or changing
access, and revoking access require customer_access:manage. The complete discover-then-mutate
flow needs both grants, while scripts and agents that already know the member may use
customer_access:manage alone. API keys are independent workspace principals and do not inherit
their creator’s human permissions or customer access. Read only includes discovery but not
mutation, Full workspace access includes both grants, and Custom includes only the grants you
select; there is no separate customer-collaboration preset.
Discover the member when you do not already know the ID or email. Use JSON output because the
interactive table is optimized for scanning rather than copying identifiers:
--has-owned-customers, this command lists all active workspace members that resolve to
local Outlit users, including members who own no customers. Use --has-owned-customers only when
you intentionally want to restrict discovery to current owners.
Each item has
id, name, email, title, role, managerEmail, territory and ownedCustomers.
Copy the member’s items[].id or email as --member. Review
multiple matches before writing; these commands intentionally do not perform fuzzy name matching.
Set owner
--yes, or the command prints the preview, changes nothing and
exits with code 1:
outcome (changed or unchanged), the new owner, the previousOwner and an
undo token good for 24 hours. Pass that token as --undo-token to reverse the change
(outlit customers set-owner --undo-token <token>). For two explicit steps instead of a prompt, run
with --mode preview, then --mode execute --preview-token <token>; --idempotency-key makes a retry
return the first result.
Grant, change or remove access
set-access command again with the other role to change an existing collaborator
between Viewer and Editor; --role none removes explicit access. The result has outcome, the
role and previousRole, and an undo token for --undo-token. --idempotency-key and --undo-token work as for set-owner. A change that needs confirming returns a
preview.token: send it with --mode execute --preview-token <token> (--mode preview is not accepted here).
--role accepts viewer, editor or none in any case; OWNER is represented by
the separate primary-owner assignment. A missing or oversized member, a blank customer, and an
invalid role fail locally without sending a request.
Most access changes apply at once. Outlit asks first when you could not undo the change: when you
remove or reduce your own access without reading all customers, or when the member has left the
workspace. Those commands show the reason and ask in a terminal; without one, they need --yes,
or they print the reason, change nothing and exit with code 1. Permission, conflict, and other
gateway failures retain Outlit’s structured code, message, retryable, and requestId fields
in JSON output.
Timeline
View the activity timeline for a customer, filtered by channel and event type.Arguments
Flags
When
--start-date is provided, --timeframe is ignored. The CLI sends these as the tool’s
filters: within (the timeframe), after (the start), before (the end), channels and
eventTypes. Values are lowercase on the wire; any case works on the command line.
The CLI also accepts and normalizes these older channel names: sdk → product, email →
communication, slack → communication, call → meeting, calendar → meeting, and
internal → system.
Examples
JSON response
events[].source is the { type, id } that outlit sources get <type> <id> opens. An event whose source cannot be opened carries unreadable: { reason } instead. Adding product to --channels also returns a product section with weekly usage; its status says why it is empty when no value features are configured. An empty events list carries coverage.searched, which says what was searched.
Customer fields
List the fields Outlit holds about customers: CRM and support-tool account fields (segment, health, stage, owner, custom fields) and SDK traits, each with its label, type, picklist options, values in use and how many customers hold one. Use it to find the field and values forcustomers list
filters.
People list
List the people at your customers: who the champion is, who went quiet, who last spoke to us.outlit users list is the previous name and still works.
Flags
Examples
JSON response
lastCommunication is the latest email, meeting, call, support ticket or Slack thread the person took
part in, never product use.
Tasks
Read and act on your task list, the To do page. Tasks are sections of work Outlit found for you, each with the actions it accepts.tasks act and tasks undo send a new idempotency key on each run; pass --idempotency-key so a retry returns the
first result instead of acting twice.
Facts
Retrieve AI-generated facts and insights for a customer.facts list arguments
facts list flags
facts get arguments and flags
Examples
JSON response
facts list or search is concise: reasoning and source.quote appear only with --include, and --include evidence carries the first three cited excerpts as evidence: { items, page, more }. facts get always returns reasoning and the quote.
facts list returns each fact with the source it came from (null when it has none); outlit.recordedAt is when Outlit stored it. facts get returns { customer, fact }, where fact has the same shape; --include evidence adds fact.evidence, { items, page, more } with the first three cited { id, source, excerpt } (--part evidence reads the rest). --part returns { customer, part } instead, part being { field, text | items, page }. An unknown --include value is rejected rather than ignored. An empty facts list carries coverage.searched.
Search
Semantic search across customer context. Results are grouped at the artifact level, so matching sources and facts are returned directly instead of raw chunks.Arguments
Flags
The CLI sends
--source-types, --after and --before as the tool’s filters, with lowercase source types.
Examples
JSON response
source and fact artifacts when both are relevant. Multiple chunk hits from the same source are grouped into one source result.
The top-level customer is the --customer you scoped to, or null for an organization-wide search. Each result’s customer names the customer it belongs to, so an organization-wide search tells you whose call or fact matched. It is null when the result can’t be attributed to exactly one customer you can read. When nothing matches, results is empty and coverage.searched says what was searched, so “not found” is not read as “not looked”.
Sources
List concrete source records deterministically or fetch one exact source by its source type and id.List sources
List enumerated calls, emails, calendar events, support tickets, Slack conversations, or opportunities. Use this command when you need deterministic source records; useoutlit search for semantic ranking. Results are paginated.
Flags
Source-type aliases are normalized to their lowercase tool values before the request, and the filters are sent under the tool’s
filters. With --json, the command returns the paginated items and page response; each item’s source is the { type, id } that sources get opens. In interactive output, rows show TYPE, OCCURRED, TITLE, and SOURCE ID; when more results are available, the next cursor is printed for the following --cursor request.
Examples
Get a source
Arguments and flags
Examples
invoice is a Stripe invoice (sources get and sources list also accept STRIPE_INVOICE as an alias; search and facts list do not): pass its Stripe invoice ID (in_...) to read every stored line item with amounts, quantity, price, product, service period, whether it recurs or is one-off, and proration. Every amount is a Money value ({ amount, currency, decimals, formatted }, with amount in minor units); show formatted as is.
The source {type, id} on a timeline event, fact, search result or source listing is what the <type> and <id> arguments take. extracted opens a memory entry a fact cites.
When a response includes content, check its status: only available has data. Read content.data.segments; if
content.data.page.hasMore is true, pass content.data.page.nextCursor as --cursor
with the same source type and ID. content.data.omittedFields lists record fields left out of the page. Use --json to inspect these fields.
When a fact or search result references a person_profile source, pass that source
ID to exact lookup to inspect its evidence:
Destinations
Inspect and manage configured delivery destinations (for example Slack channels) with masked configuration only.Examples
--is-default on destinations create or destinations update to make a destination the default fallback. --enabled true|false enables or disables it (on create, it defaults to true). destinations update patches only the fields you pass, and --revision refuses the change if the destination changed since you read it. Raw destination secrets and unmasked provider configuration are not returned.
destinations list pages its results (--limit up to 100, --cursor from the previous page.nextCursor). destinations list --ids <id>,<id> reads specific destinations and lists an ID it cannot show under missing. --idempotency-key on create and archive makes a retry return the first result.
destinations archive first shows the destination and how many automation routes deliver to it. In a terminal you are asked to confirm. Without a terminal, pass --yes, or the command prints the preview, archives nothing and exits with code 1. For two explicit steps, use --mode preview and then --mode execute --preview-token <token>.
Settings
Read and update the workspace timezone, the default customer owner and the activation event. Configure delivery and reports in the Outlit app.Examples
settings.general (timezone, defaultOwner) and settings.activation (event), with a revision. settings update returns which settings changed. A part you may not read says which permission it needs. Pass only what you change. --default-owner takes a member’s user ID or email, and --activation-event the exact product event; none clears either. --revision (from settings get) refuses the change if settings changed since. Default delivery destination selection is handled by outlit destinations create --is-default or outlit destinations update --is-default.
Query
Execute read-only SQL queries against Outlit analytics views.Arguments
Flags
Examples
outlit schema get first: it lists every column with its unit, currency and time zone, and worked queries (outlit schema get examples). The query runs once and its first 10,000 rows are kept for an hour; send the same SQL with --cursor for the next page. Past 10,000 rows, truncation says to aggregate or filter.
JSON response
Available views
Useoutlit schema get to discover all views and their columns. Common views:
Schema
Discover whatoutlit query can read: views, columns, event types and worked queries.
Arguments
Examples
customers analytics view exposes company activation as
activated_at Nullable(DateTime64(3)). Contact journey stages remain separate on users.
JSON response
Feedback
Submit product feedback to the Outlit team: bug reports, feature ideas, or friction you hit while working with Outlit. Feedback is product intake — it is not a support ticket and does not guarantee a reply.Flags
--body and --body-file are mutually exclusive, as are --context and --context-file.
Use context for diagnostics such as the surface, command, or client version — never for
secrets or unnecessary customer data.
Submitting feedback requires an authenticated API key and is rate limited separately from
customer-intelligence reads. It does not consume paid usage quota.
