p202 ltv

Customer lifetime value — realized LTV, per-customer detail, product/acquisition breakdowns, MRR/churn, and predictive LTV

All commands

01How it works

Customer lifetime value: the reads (summary, customers, breakdown, cohorts, mrr, predict, abm, engagement, subscriptions, companies, products) and the writes the API offers — customer and company records (ltv customer, ltv company), revenue, engagement events, subscriptions and products pushed from other systems, custom fields, outbound webhooks and integrations.

LTV writes cannot be staged: under --staged they are refused before anything is sent.

02Commands

21 under p202 ltv.

03For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands ltv --json.
  • With AI_AGENT, CLAUDECODE or another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with a hint.
  • Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
p202 commands ltv --json
{
  "path": "p202 ltv",
  "use": "ltv",
  "short": "Customer lifetime value — realized LTV, per-customer detail, product/acquisition breakdowns, MRR/churn, and predictive LTV",
  "long": "Customer lifetime value: the reads (summary, customers, breakdown, cohorts, mrr, predict, abm,\nengagement, subscriptions, companies, products) and the writes the API offers — customer and\ncompany records (`ltv customer`, `ltv company`), revenue, engagement events, subscriptions and\nproducts pushed from other systems, custom fields, outbound webhooks and integrations.\n\nLTV writes cannot be staged: under --staged they are refused before anything is sent.",
  "runnable": false
}