Baremetrics
baremetricsBaremetrics provides subscription analytics, metrics, customer insights, and revenue data for recurring-revenue businesses.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get AccountBAREMETRICS_GET_ACCOUNTAcciónReturn the connected Baremetrics account identity, company, default currency, and calculation range.
BAREMETRICS_GET_ACCOUNTAcciónReturn the connected Baremetrics account identity, company, default currency, and calculation range.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CohortsBAREMETRICS_GET_COHORTSAcciónReturn Baremetrics cohort analysis for comparing customer retention and revenue behavior across signup cohorts.
BAREMETRICS_GET_COHORTSAcciónReturn Baremetrics cohort analysis for comparing customer retention and revenue behavior across signup cohorts.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Metric BreakdownBAREMETRICS_GET_METRIC_BREAKDOWNAcciónReturn daily values for one Baremetrics metric broken down by contributing customers or plans over an inclusive date range.
BAREMETRICS_GET_METRIC_BREAKDOWNAcciónReturn daily values for one Baremetrics metric broken down by contributing customers or plans over an inclusive date range.
Parámetros de entrada
metricstringObligatorioenumBaremetrics metric to break down. Customer breakdowns support active_trials, add_on_mrr, cancellations, canceled_trials, churned_customers, converted_trials, downgrades, new_customers, new_subscriptions, new_trials, other_revenue, plan_quantities, reactivations, and upgrades. Plan breakdowns support the general Baremetrics metric vocabulary: every allowed value except add_on_mrr and canceled_trials.
active_customersactive_subscriptionsactive_trialsadd_on_mrrarpuarrcancellationscanceled_trialschurned_customersconverted_trialscouponsdowngrades+21end_datestringObligatoriodateLast date to include, in YYYY-MM-DD format. The range is inclusive.
breakdownstringObligatorioenumDimension to include within each daily metric point.
customersplansstart_datestringObligatoriodateFirst date to include, in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Metric SummaryBAREMETRICS_GET_METRIC_SUMMARYAcciónReturn wide daily Baremetrics business metrics for an inclusive date range, including MRR, revenue, and customer counts in each daily row.
BAREMETRICS_GET_METRIC_SUMMARYAcciónReturn wide daily Baremetrics business metrics for an inclusive date range, including MRR, revenue, and customer counts in each daily row.
Parámetros de entrada
end_datestringObligatoriodateLast date to include, in YYYY-MM-DD format. The range is inclusive.
start_datestringObligatoriodateFirst date to include, in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Metric TrendBAREMETRICS_GET_METRIC_TRENDAcciónReturn the daily time series and prior-period comparison for one Baremetrics metric over an inclusive date range.
BAREMETRICS_GET_METRIC_TRENDAcciónReturn the daily time series and prior-period comparison for one Baremetrics metric over an inclusive date range.
Parámetros de entrada
metricstringObligatorioenumBaremetrics metric to analyze. Monetary values use the account currency's smallest unit where applicable.
active_customersactive_subscriptionsactive_trialsarpuarrcancellationschurned_customersconverted_trialscouponsdowngradesfailed_chargesfees+19end_datestringObligatoriodateLast date to include, in YYYY-MM-DD format. The range is inclusive.
start_datestringObligatoriodateFirst date to include, in YYYY-MM-DD format.
compare_to_daysintegerNumber of days before each point to compare against. Omit to use Baremetrics' default comparison period.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Recurring Revenue ResourceBAREMETRICS_GET_RECURRING_REVENUE_RESOURCEAcciónGet one customer, plan, subscription, charge, or refund by its OID within a Baremetrics source.
BAREMETRICS_GET_RECURRING_REVENUE_RESOURCEAcciónGet one customer, plan, subscription, charge, or refund by its OID within a Baremetrics source.
Parámetros de entrada
source_idstringObligatorioSource UUID returned by BAREMETRICS_LIST_SOURCES.
resource_oidstringObligatorioProvider-facing OID of the resource, usually obtained from BAREMETRICS_LIST_RECURRING_REVENUE_RESOURCES.
resource_typestringObligatorioenumKind of recurring-revenue resource to retrieve.
customerplansubscriptionchargerefund
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Recurring Revenue ResourcesBAREMETRICS_LIST_RECURRING_REVENUE_RESOURCESAcciónList one page of customers, plans, subscriptions, charges, or refunds from a Baremetrics source, using only filters valid for the selected resource type.
BAREMETRICS_LIST_RECURRING_REVENUE_RESOURCESAcciónList one page of customers, plans, subscriptions, charges, or refunds from a Baremetrics source, using only filters valid for the selected resource type.
Parámetros de entrada
orderstringenumSort direction. Valid only for customers and subscriptions.
ascdescsearchstringSearch customer OID, email, notes, or name, or search plan name or OID. Valid only for customers and plans.
sort_bystringenumCustomer sort field. Valid only for customers.
ltvcreatedper_pageintegerMaximum resources to return in this page (1-200).
source_idstringObligatorioSource UUID returned by BAREMETRICS_LIST_SOURCES.
next_cursorstringContinuation cursor from a previous response; omit for the first page.
customer_oidstringFilter subscriptions or charges to one customer OID.
end_timestampintegerUnix timestamp upper bound for charges or refunds.
resource_typestringObligatorioenumKind of recurring-revenue resource to list.
customersplanssubscriptionschargesrefundsstart_timestampintegerUnix timestamp lower bound for charges or refunds.
subscription_oidstringFilter charges to one subscription OID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SourcesBAREMETRICS_LIST_SOURCESAcciónList one page of payment and Baremetrics API sources in the connected account and return source IDs required by source-scoped resource tools; use next_cursor to fetch later pages.
BAREMETRICS_LIST_SOURCESAcciónList one page of payment and Baremetrics API sources in the connected account and return source IDs required by source-scoped resource tools; use next_cursor to fetch later pages.
Parámetros de entrada
per_pageintegerMaximum sources to return in this page (1-200).
next_cursorstringContinuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not