Volver al catálogo

Metronome

metronome

Metronome is a usage-based billing platform for managing customers, contracts, pricing, usage, credits, and invoices.

Acciones
118
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (118)

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.

Add Manual Balance Ledger EntryMETRONOME_ADD_MANUAL_BALANCE_LEDGER_ENTRYAcción

Manually increase or decrease an existing commit or credit balance segment.

Parámetros de entrada

  • idstringObligatorio

    ID of the commit or credit balance to adjust.

  • amountnumberObligatorio

    Amount to add; a negative value draws down the balance.

  • reasonstringObligatorio

    Reason displayed in the balance ledger.

  • timestampstringdate-time

    Time of the adjustment; defaults to the segment start.

  • segment_idstringObligatorio

    ID of the balance segment to adjust.

  • contract_idstring

    Contract ID; omit for a customer-level balance.

  • customer_idstringObligatorio

    ID of the customer whose balance is adjusted.

  • uniqueness_keystring

    Idempotent resource uniqueness key.

  • per_group_amountsobject

    Per-seat amounts, which must sum to amount.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add RateMETRONOME_ADD_RATEAcción

Add one product rate to a Metronome rate card. Prefer Add Rates for bulk changes.

Parámetros de entrada

  • pricenumber

    Default price for the rate.

  • tiersobject[]

    Price tiers for a tiered rate.

  • entitledbooleanObligatorio

    Whether contracts are entitled to this product.

  • quantitynumber

    Default quantity for a subscription rate.

  • rate_typestringObligatorioenum

    Pricing model for the rate.

    FLATflatPERCENTAGEpercentageSUBSCRIPTIONsubscriptionTIEREDtieredTIERED_PERCENTAGEtiered_percentageCUSTOMcustom
  • product_idstringObligatoriouuid

    ID of the product to price.

  • commit_rateobject

    Alternative rate used when consuming a commit.

  • custom_rateobject

    Configuration interpreted by a custom rate processor.

  • is_proratedboolean

    Whether a subscription rate is prorated.

  • starting_atstringObligatoriodate-time

    Inclusive effective timestamp for the rate.

  • rate_card_idstringObligatoriouuid

    ID of the rate card to update.

  • ending_beforestringdate-time

    Exclusive end timestamp for the rate.

  • credit_type_idstringuuid

    Pricing unit for the rate; defaults to USD cents.

  • minimum_configobject

    Minimum charge for a percentage-based rate.

  • billing_frequencystringenum

    Billing frequency for subscription products.

    MONTHLYQUARTERLYSEMI_ANNUALANNUALWEEKLYmonthlyquarterlysemi_annualannualweekly
  • pricing_group_valuesobject

    Pricing-group key-value pairs used to select this rate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add RatesMETRONOME_ADD_RATESAcción

Add multiple product rates to a Metronome rate card in one request.

Parámetros de entrada

  • ratesobject[]Obligatorio

    Product rates to add to the rate card.

  • rate_card_idstringObligatoriouuid

    ID of the rate card to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive AlertMETRONOME_ARCHIVE_ALERTAcción

Permanently stop a threshold notification from evaluating, optionally releasing its uniqueness key for reuse.

Parámetros de entrada

  • idstringObligatorio

    Metronome ID of the threshold notification to archive.

  • release_uniqueness_keyboolean

    Release the notification's uniqueness key so it can be reused.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive Billable MetricMETRONOME_ARCHIVE_BILLABLE_METRICAcción

Archive a Metronome billable metric. Archived metrics cannot be assigned to new products, and Metronome does not document a restore operation.

Parámetros de entrada

  • idstringObligatorio

    UUID of the billable metric to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive CommitMETRONOME_ARCHIVE_COMMITAcción

Archive a customer commit so it is no longer active.

Parámetros de entrada

  • commit_idstringObligatorio

    ID of the commit to archive.

  • customer_idstringObligatorio

    ID of the customer whose commit is archived.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive ContractMETRONOME_ARCHIVE_CONTRACTAcción

Permanently end and archive a contract and its terms, cancel draft invoices, void upcoming scheduled invoices, and optionally void existing finalized invoices. Active prepaid commit balances are closed and may receive expiration ledger entries. Requires the customer and contract IDs.

Parámetros de entrada

  • contract_idstringObligatoriouuid

    ID of the contract to archive.

  • customer_idstringObligatoriouuid

    ID of the customer whose contract will be archived.

  • void_invoicesbooleanObligatorio

    Whether to also void existing finalized invoices. Draft invoices are always canceled and upcoming scheduled invoices are always voided.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive CreditMETRONOME_ARCHIVE_CREDITAcción

Archive a customer credit so it is no longer active.

Parámetros de entrada

  • credit_idstringObligatorio

    ID of the credit to archive.

  • customer_idstringObligatorio

    ID of the customer whose credit is archived.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive Pricing UnitMETRONOME_ARCHIVE_CREDIT_TYPEAcción

Archive a custom Metronome pricing unit so it no longer appears in pricing unit selectors by default.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the custom pricing unit to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive CustomerMETRONOME_ARCHIVE_CUSTOMERAcción

Permanently archive a Metronome customer and every customer contract, void the corresponding invoices, and stop associated notifications. Requires the customer ID and cannot be undone.

Parámetros de entrada

  • idstringObligatorio

    UUID of the customer to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive Customer Billing Provider ConfigurationsMETRONOME_ARCHIVE_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcción

Archive one or more billing provider configurations for a Metronome customer. This immediately stops affected contracts from metering to downstream systems.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer that owns the billing provider configurations.

  • customer_billing_provider_configuration_idsstring[]Obligatorio

    UUIDs of the customer billing provider configurations to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive Notification ConfigMETRONOME_ARCHIVE_NOTIFICATION_CONFIGAcción

Archive an offset lifecycle-event notification configuration so Metronome no longer processes it.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the offset notification configuration to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive PackageMETRONOME_ARCHIVE_PACKAGEAcción

Permanently archive a package so it cannot be used to create new contracts. Existing contracts using the package continue to function.

Parámetros de entrada

  • package_idstringObligatoriouuid

    ID of the package to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive ProductMETRONOME_ARCHIVE_PRODUCTAcción

Archive a Metronome product so it cannot be used for new rates. Existing rate cards continue to function, and Metronome does not support unarchiving.

Parámetros de entrada

  • product_idstringObligatoriouuid

    ID of the product to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive Rate CardMETRONOME_ARCHIVE_RATE_CARDAcción

Permanently archive a rate card so it cannot be used for new contracts.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the rate card to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create AlertMETRONOME_CREATE_ALERTAcción

Create a threshold notification that monitors customer spend, usage, credits, commits, invoice totals, or seat balances.

Parámetros de entrada

  • namestringObligatorio

    Display name of the threshold notification.

  • thresholdnumberObligatorio

    Threshold amount, remaining days, or percentage used by the notification.

  • alert_typestringObligatorioenum

    Type of threshold notification to create.

    spend_threshold_reachedmonthly_invoice_total_spend_threshold_reachedusage_threshold_reachedlow_remaining_days_for_commit_segment_reachedlow_remaining_commit_balance_reachedlow_remaining_commit_percentage_reachedlow_remaining_days_for_contract_credit_segment_reachedlow_remaining_contract_credit_balance_reachedlow_remaining_contract_credit_percentage_reachedlow_remaining_contract_credit_and_commit_balance_reachedlow_remaining_contract_credit_and_commit_percentage_reachedinvoice_total_reached+1
  • access_typestringenum

    Commit or credit access type evaluated by supported notifications.

    SPENDspendQUANTITYquantity
  • customer_idstring

    Customer ID to target; omit to create the notification for all customers.

  • seat_filterobject

    Seat group scope for a remaining seat balance notification.

  • group_valuesobject[]

    Presentation group key-value filters for spend threshold notifications.

  • credit_type_idstring

    Pricing unit ID used by notification types that evaluate monetary balances.

  • uniqueness_keystring

    Unique idempotency key that prevents duplicate notification creation.

  • alert_specifiersobject[]

    Commit and credit filters used to calculate combined remaining balances.

  • billable_metric_idstring

    Billable metric ID required for usage threshold notifications.

  • evaluate_on_createboolean

    Evaluate existing customers immediately after creating the notification.

  • custom_field_filtersobject[]

    Custom field filters for notification types that support advanced filtering.

  • invoice_types_filterstring[]

    Invoice types evaluated by an invoice total notification.

  • credit_grant_type_filtersstring[]

    Credit grant types to which the notification applies.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Billable MetricMETRONOME_CREATE_BILLABLE_METRICAcción

Create a streaming billable metric from event filters and aggregation rules, or create a SQL billable metric by supplying sql instead.

Parámetros de entrada

  • sqlstring

    SQL query for a SQL billable metric. Omit aggregation_type, event_type_filter, property_filters, aggregation_key, and group_keys when this is provided.

  • namestringObligatorio

    Display name of the billable metric.

  • group_keysarray[]

    Property sets used to group usage into distinct invoice buckets.

  • custom_fieldsobject

    Custom key-value fields to attach to the billable metric.

  • aggregation_keystring

    Event property aggregated by the metric; it must name a property filter and does not apply to count aggregation.

  • aggregation_typestringenum

    Aggregation performed on matching events.

    countCountCOUNTlatestLatestLATESTmaxMaxMAXsumSumSUM+3
  • property_filtersobject[]

    Rules on event properties; every rule must pass for an event to match.

  • event_type_filterobject

    Optional rule matching events by event type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ContractMETRONOME_CREATE_CONTRACTAcción

Create a Metronome contract with pricing, credits, commitments, subscriptions, and billing terms.

Parámetros de entrada

  • namestring

    Customer-facing contract name.

  • commitsobject[]

    Commitment terms to create.

  • creditsobject[]

    Credit terms to create.

  • discountsobject[]

    Discount terms to add when enabled for the account.

  • overridesobject[]

    Rate overrides to add to the contract.

  • package_idstringuuid

    Package ID to provision instead of defining standalone terms.

  • transitionobject

    Renewal or supersession relationship to another contract.

  • customer_idstringObligatoriouuid

    ID of the customer receiving the contract.

  • starting_atstringObligatoriodate-time

    Inclusive contract start timestamp.

  • rate_card_idstringuuid

    Rate card used by the contract.

  • usage_filterobject

    Usage routing filter for this contract.

  • custom_fieldsobject

    Custom field values for the contract.

  • ending_beforestringdate-time

    Exclusive contract end timestamp.

  • package_aliasstring

    Package alias to provision; mutually exclusive with package_id.

  • subscriptionsobject[]

    Subscription terms to create.

  • spend_trackersobject[]

    Spend trackers attached to this contract.

  • uniqueness_keystring

    Idempotency key preventing duplicate contract creation.

  • rate_card_aliasstring

    Rate card alias resolved as of the contract start.

  • stripe_metadataobject

    Stripe subscription metadata linked to the contract.

  • recurring_commitsobject[]

    Recurring commitment terms to create.

  • recurring_creditsobject[]

    Recurring credit terms to create.

  • scheduled_chargesobject[]

    One-time scheduled charges to add.

  • reseller_royaltiesobject[]

    Reseller royalty terms to add.

  • total_contract_valuenumber

    Total value recorded for the contract.

  • professional_servicesobject[]

    Professional service terms to add.

  • net_payment_terms_daysnumber

    Days after invoice issue when payment is due.

  • package_customizationsobject

    Overrides applied when provisioning from a package.

  • hierarchy_configurationobject

    Account hierarchy configuration for the contract.

  • netsuite_sales_order_idstring

    NetSuite sales order associated with the contract.

  • usage_statement_scheduleobject

    Usage statement cadence and billing anchor.

  • salesforce_opportunity_idstring

    Salesforce opportunity associated with the contract.

  • revenue_system_configurationobject

    Revenue system configuration selected for the contract.

  • spend_threshold_configurationobject

    Spend threshold configuration for the contract.

  • billing_provider_configurationobject

    Billing provider configuration selected for the contract.

  • credit_type_conversion_overridesobject[]

    Custom pricing-unit conversion overrides.

  • multiplier_override_prioritizationstringenum

    How overlapping multiplier overrides are prioritized.

    LOWEST_MULTIPLIERlowest_multiplierEXPLICITexplicit
  • scheduled_charges_on_usage_invoicesstring

    How scheduled charges are placed on usage invoices.

  • prepaid_balance_threshold_configurationobject

    Prepaid balance threshold configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Pricing UnitMETRONOME_CREATE_CREDIT_TYPEAcción

Create a custom Metronome pricing unit for charging usage in a non-fiat unit.

Parámetros de entrada

  • namestringObligatorio

    Name of the custom pricing unit shown on invoices.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create CustomerMETRONOME_CREATE_CUSTOMERAcción

Create a Metronome customer with optional usage aliases, custom fields, and billing or revenue system configurations.

Parámetros de entrada

  • namestringObligatorio

    Customer display name; Metronome truncates it to 160 characters.

  • external_idstring

    Deprecated usage identifier; prefer ingest_aliases.

  • custom_fieldsobject

    Custom field values to attach to the customer.

  • ingest_aliasesstring[]

    Aliases that can identify this customer in usage events.

  • customer_revenue_system_configurationsobject[]

    Revenue system configurations to create with the customer.

  • customer_billing_provider_configurationsobject[]

    Billing provider configurations to create with the customer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Customer CommitMETRONOME_CREATE_CUSTOMER_COMMITAcción

Create a customer-level prepaid or postpaid commit with access and invoice schedules.

Parámetros de entrada

  • namestring

    Name displayed on invoices.

  • typestringObligatorioenum

    Commit payment timing.

    PREPAIDprepaidPOSTPAIDpostpaid
  • prioritynumberObligatorio

    Drawdown priority; lower values apply first.

  • rate_typestringenum

    Rate used to draw down the commit.

    COMMIT_RATEcommit_rateLIST_RATElist_rate
  • product_idstringObligatorio

    Fixed product used to invoice the commit.

  • specifiersobject[]

    Usage filters for commit drawdown.

  • customer_idstringObligatorio

    ID of the customer receiving the commit.

  • descriptionstring

    Internal commit description.

  • custom_fieldsobject

    Custom fields attached to the commit.

  • uniqueness_keystring

    Key preventing duplicate commits or credits.

  • access_scheduleobjectObligatorio

    Schedule distributing committed balance.

  • invoice_scheduleobject

    Schedule for invoicing the commit.

  • invoice_contract_idstring

    Contract billed for the commit.

  • applicable_product_idsstring[]

    Products whose usage can draw down the commit.

  • applicable_contract_idsstring[]

    Contracts to which the commit applies.

  • applicable_product_tagsstring[]

    Product tags whose usage can draw down the commit.

  • netsuite_sales_order_idstring

    NetSuite sales order ID, when enabled.

  • salesforce_opportunity_idstring

    Salesforce opportunity ID, when enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Customer CreditMETRONOME_CREATE_CUSTOMER_CREDITAcción

Create a customer-level credit with a scheduled spend or quantity balance.

Parámetros de entrada

  • namestring

    Name displayed on invoices.

  • prioritynumberObligatorio

    Drawdown priority; lower values apply first.

  • rate_typestringenum

    Rate used to draw down the credit.

    COMMIT_RATEcommit_rateLIST_RATElist_rate
  • product_idstringObligatorio

    Product associated with the credit.

  • specifiersobject[]

    Usage filters for credit drawdown.

  • customer_idstringObligatorio

    ID of the customer receiving the credit.

  • descriptionstring

    Internal credit description.

  • custom_fieldsobject

    Custom fields attached to the credit.

  • uniqueness_keystring

    Key preventing duplicate commits or credits.

  • access_scheduleobjectObligatorio

    Schedule distributing credit balance.

  • applicable_product_idsstring[]

    Products whose usage can draw down the credit.

  • applicable_contract_idsstring[]

    Contracts to which the credit applies.

  • applicable_product_tagsstring[]

    Product tags whose usage can draw down the credit.

  • netsuite_sales_order_idstring

    NetSuite sales order ID, when enabled.

  • salesforce_opportunity_idstring

    Salesforce opportunity ID, when enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Custom Field KeyMETRONOME_CREATE_CUSTOM_FIELD_KEYAcción

Create an allowed custom field key for a Metronome entity type and choose whether its values must be unique.

Parámetros de entrada

  • keystringObligatorio

    Custom field key to add to the entity's allowlist.

  • entitystringObligatorioenum

    Metronome entity type that will allow this custom field key.

    alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7
  • enforce_uniquenessbooleanObligatorio

    Whether values for this key must be unique across the entity type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Historical Contract Usage InvoicesMETRONOME_CREATE_HISTORICAL_CONTRACT_USAGE_INVOICESAcción

Validate a read-only preview or create retroactive contract usage invoices for historical billing periods. Set preview=true for validation with no billing records created; set preview=false to create invoices. Because this single endpoint can create billing records, the action is classified as a create operation.

Parámetros de entrada

  • previewbooleanObligatorio

    Set true to validate and return a read-only preview without creating billing records. Set false only when ready to create the invoices.

  • invoicesobject[]Obligatorio

    Historical contract usage invoices to validate in preview mode or persist in creation mode.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Notification ConfigMETRONOME_CREATE_NOTIFICATION_CONFIGAcción

Create a notification that publishes a webhook at an ISO 8601 time offset from a Metronome lifecycle event.

Parámetros de entrada

  • namestringObligatorio

    Name for the offset notification configuration.

  • policyobjectObligatorio

    Lifecycle event and time offset that trigger the notification.

  • uniqueness_keystring

    Key that prevents duplicate notification configurations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PackageMETRONOME_CREATE_PACKAGEAcción

Create a reusable package of time-relative contract pricing and billing terms.

Parámetros de entrada

  • namestringObligatorio

    Package name.

  • aliasesobject[]

    Package aliases.

  • commitsobject[]

    Commit templates.

  • creditsobject[]

    Credit templates.

  • durationobject

    Contract duration.

  • overridesobject[]

    Rate overrides.

  • rate_card_idstringuuid

    Provisioned rate card.

  • contract_namestring

    Provisioned contract name.

  • subscriptionsobject[]

    Subscription templates.

  • spend_trackersobject[]

    Spend trackers.

  • uniqueness_keystring

    Package idempotency key.

  • delivery_methodstringenum

    Invoice delivery method.

    direct_to_billing_provideraws_sqstackleaws_sns
  • rate_card_aliasstring

    Provisioned rate card alias.

  • billing_providerstringenum

    Required billing provider.

    aws_marketplaceazure_marketplacegcp_marketplacestripenetsuite
  • recurring_commitsobject[]

    Recurring commit templates.

  • recurring_creditsobject[]

    Recurring credit templates.

  • scheduled_chargesobject[]

    Scheduled charges.

  • net_payment_terms_daysnumber

    Payment terms.

  • usage_statement_scheduleobject

    Usage statement schedule.

  • spend_threshold_configurationobject

    Spend threshold settings.

  • multiplier_override_prioritizationstringenum

    Multiplier override priority mode.

    LOWEST_MULTIPLIERlowest_multiplierEXPLICITexplicit
  • scheduled_charges_on_usage_invoicesstring

    Consolidate all eligible scheduled charges onto usage invoices.

  • prepaid_balance_threshold_configurationobject

    Prepaid balance threshold settings.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProductMETRONOME_CREATE_PRODUCTAcción

Create a Metronome product representing an invoice line item, including its usage metric, composite behavior, quantity rules, tags, and custom fields.

Parámetros de entrada

  • namestringObligatorio

    Product name displayed on invoices.

  • tagsstring[]

    Tags assigned to the product.

  • typestringObligatorioenum

    Product's pricing and usage behavior type.

    FIXEDfixedUSAGEusageCOMPOSITEcompositeSUBSCRIPTIONsubscriptionPROFESSIONAL_SERVICEprofessional_servicePRO_SERVICEpro_service
  • custom_fieldsobject

    Organization-defined custom fields attached to the product.

  • is_refundableboolean

    Whether charges for this product are refundable.

  • composite_tagsstring[]

    Tags selecting products included by a composite product.

  • composite_scopestringenum

    Whether customer-wide or contract-level spend contributes to the composite charge.

    customerCUSTOMERcontractCONTRACT
  • pricing_group_keystring[]

    Billable metric group keys that determine separate prices.

  • quantity_roundingobject

    Usage quantity rounding configuration.

  • billable_metric_idstringuuid

    Billable metric ID required for a usage product.

  • exclude_free_usageboolean

    Whether zero-cost products are excluded from composite usage.

  • quantity_conversionobject

    Usage quantity conversion configuration.

  • composite_product_idsstring[]

    Product IDs included by a composite product.

  • presentation_group_keystring[]

    Billable metric group keys used to group invoice line items.

  • include_composite_spendboolean

    Whether spend from other composite products contributes to this product.

  • netsuite_overage_item_idstring

    NetSuite overage item ID, when enabled for the organization.

  • netsuite_internal_item_idstring

    NetSuite item ID, when enabled for the organization.

  • sql_breakdown_granularitystringenum

    Whether SQL billable metric usage is evaluated hourly or per service period.

    HOURhourSERVICE_PERIODservice_period

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Rate CardMETRONOME_CREATE_RATE_CARDAcción

Create a Metronome rate card with pricing-unit conversions and scheduled aliases.

Parámetros de entrada

  • namestringObligatorio

    Internal name of the rate card.

  • aliasesobject[]

    Aliases used to resolve this rate card for new contracts.

  • descriptionstring

    Rate card description.

  • custom_fieldsobject

    Custom fields attached to the rate card.

  • fiat_credit_type_idstringuuid

    Fiat pricing unit; defaults to USD cents.

  • credit_type_conversionsobject[]

    Conversions required for custom pricing units.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Custom Field KeyMETRONOME_DELETE_CUSTOM_FIELD_KEYAcción

Remove a custom field key from a Metronome entity type's allowlist, making existing values for that key inaccessible.

Parámetros de entrada

  • keystringObligatorio

    Custom field key to remove from the entity allowlist.

  • entitystringObligatorioenum

    Metronome entity type whose custom field key will be removed.

    alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Custom FieldsMETRONOME_DELETE_CUSTOM_FIELDSAcción

Delete selected custom field values from one Metronome entity instance without changing its other custom fields.

Parámetros de entrada

  • keysstring[]Obligatorio

    Custom field keys to remove from the specified entity instance.

  • entitystringObligatorioenum

    Metronome entity type whose custom field values will be removed.

    alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7
  • entity_idstringObligatoriouuid

    Metronome UUID of the specific entity whose fields will be removed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable Commit True-upMETRONOME_DISABLE_COMMIT_TRUEUPAcción

Disable generation of the final true-up invoice for a postpaid commit.

Parámetros de entrada

  • commit_idstringObligatorio

    ID of the postpaid commit.

  • contract_idstringObligatorio

    ID of the contract containing the commit.

  • customer_idstringObligatorio

    ID of the customer whose commit is updated.

  • amendment_idstring

    Amendment ID containing the commit, when applicable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit CommitMETRONOME_EDIT_COMMITAcción

Edit a commit's metadata, schedules, applicability, product, rate, priority, or hierarchy access.

Parámetros de entrada

  • namestring

    Updated commit name.

  • prioritynumber

    Updated drawdown priority.

  • commit_idstringObligatorio

    ID of the commit to edit.

  • rate_typestringenum

    Updated rate type.

    LIST_RATElist_rateCOMMIT_RATEcommit_rate
  • product_idstring

    Updated commit product ID.

  • specifiersobject[]

    Usage filters for commit drawdown.

  • customer_idstringObligatorio

    ID of the customer whose commit is edited.

  • descriptionstring

    Updated commit description.

  • access_scheduleobject

    Access schedule changes.

  • invoice_scheduleobject

    Invoice schedule changes.

  • invoice_contract_idstring

    Contract used for invoicing.

  • applicable_product_idsstring[]

    Products whose usage can draw down the commit; null applies to all.

  • applicable_contract_idsstring[]

    Contracts to which the commit applies; null applies to all.

  • applicable_product_tagsstring[]

    Product tags whose usage can draw down the commit; null applies to all.

  • hierarchy_configurationobject

    Child-contract access configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit ContractMETRONOME_EDIT_CONTRACTAcción

Apply a v2 contract edit that adds, updates, archives, or removes contract terms.

Parámetros de entrada

  • add_commitsobject[]

    Commit terms to add.

  • add_creditsobject[]

    Credit terms to add.

  • contract_idstringObligatoriouuid

    ID of the contract to edit.

  • customer_idstringObligatoriouuid

    ID of the customer whose contract is edited.

  • add_discountsobject[]

    Discount terms to add.

  • add_overridesobject[]

    Rate overrides to add.

  • uniqueness_keystring

    Idempotency key preventing duplicate contract edits.

  • update_commitsobject[]

    Commit changes.

  • update_creditsobject[]

    Credit changes.

  • archive_commitsobject[]

    Commits to archive.

  • archive_creditsobject[]

    Credits to archive.

  • remove_overridesobject[]

    Rate overrides to remove.

  • add_subscriptionsobject[]

    Subscriptions to add.

  • add_spend_trackersobject[]

    Spend trackers to add.

  • add_stripe_metadataobject

    Stripe metadata to add to a contract that has none.

  • update_contract_namestring

    New contract name; null clears the name.

  • update_subscriptionsobject[]

    Subscription changes.

  • add_recurring_commitsobject[]

    Recurring commitment terms to add.

  • add_recurring_creditsobject[]

    Recurring credit terms to add.

  • add_scheduled_chargesobject[]

    Scheduled charges to add.

  • add_reseller_royaltiesobject[]

    Reseller royalty terms to add.

  • archive_spend_trackersstring[]

    Spend tracker aliases to archive.

  • update_stripe_metadataobject

    Stripe metadata to update or remove.

  • update_contract_end_datestringdate-time

    New exclusive contract end timestamp; null removes the end date.

  • update_recurring_commitsobject[]

    Changes to future recurring commitments.

  • update_recurring_creditsobject[]

    Changes to future recurring credits.

  • update_scheduled_chargesobject[]

    Scheduled charge changes.

  • add_professional_servicesobject[]

    Professional service terms to add.

  • archive_scheduled_chargesobject[]

    Scheduled charges to archive.

  • update_net_payment_terms_daysnumber

    New invoice payment terms in days; null clears them.

  • add_spend_threshold_configurationobject

    Spend threshold configuration to add.

  • add_credit_type_conversion_overridesobject[]

    Pricing-unit conversion overrides to add.

  • update_spend_threshold_configurationobject

    Spend threshold configuration changes.

  • add_revenue_system_configuration_updateobject

    Revenue system configuration update to schedule.

  • add_billing_provider_configuration_updateobject

    Billing provider configuration update to schedule.

  • add_prepaid_balance_threshold_configurationobject

    Prepaid balance threshold configuration to add.

  • allow_contract_ending_before_finalized_invoiceboolean

    Allow the contract to end before an existing finalized invoice period.

  • update_prepaid_balance_threshold_configurationobject

    Prepaid balance threshold configuration changes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit CreditMETRONOME_EDIT_CREDITAcción

Edit a credit's metadata, access schedule, applicability, product, rate, priority, or hierarchy access.

Parámetros de entrada

  • namestring

    Updated credit name.

  • prioritynumber

    Updated drawdown priority.

  • credit_idstringObligatorio

    ID of the credit to edit.

  • rate_typestringenum

    Updated rate type.

    LIST_RATElist_rateCOMMIT_RATEcommit_rate
  • product_idstring

    Updated credit product ID.

  • specifiersobject[]

    Usage filters for credit drawdown.

  • customer_idstringObligatorio

    ID of the customer whose credit is edited.

  • descriptionstring

    Updated credit description.

  • access_scheduleobject

    Access schedule changes.

  • applicable_product_idsstring[]

    Products whose usage can draw down the credit; null applies to all.

  • applicable_contract_idsstring[]

    Contracts to which the credit applies; null applies to all.

  • applicable_product_tagsstring[]

    Product tags whose usage can draw down the credit; null applies to all.

  • hierarchy_configurationobject

    Child-contract access configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit Notification ConfigMETRONOME_EDIT_NOTIFICATION_CONFIGAcción

Change an offset notification policy or enable or disable webhook publishing for a system lifecycle notification.

Parámetros de entrada

  • idstringuuid

    Offset notification configuration ID; omit for a system event.

  • policyanyObligatorio

    Updated policy. Its lifecycle event type must match the existing configuration.

  • is_enabledboolean

    Enable or disable webhook publishing for a system lifecycle event.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Audit LogsMETRONOME_GET_AUDIT_LOGSAcción

Get one page of account audit entries for security monitoring, compliance, and operational investigation.

Parámetros de entrada

  • sortstringenum

    Order entries by timestamp in ascending or descending order.

    date_ascdate_desc
  • limitinteger

    Maximum audit log entries to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • resource_idstring

    Resource ID to filter by; resource_type is required when this is set.

  • starting_onstringdate-time

    Earliest audit log timestamp to return, inclusive; cannot be used with next_page.

  • ending_beforestringdate-time

    Latest audit log timestamp to return, exclusive; cannot be used with next_page.

  • resource_typestring

    Resource type to filter by; resource_id is required when this is set.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Billable MetricMETRONOME_GET_BILLABLE_METRICAcción

Retrieve one Metronome billable metric by ID, including its event matching, aggregation, grouping, custom fields, SQL, and archive state.

Parámetros de entrada

  • billable_metric_idstringObligatorio

    UUID of the billable metric to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ContractMETRONOME_GET_CONTRACTAcción

Retrieve the current or historical v2 configuration of a Metronome contract.

Parámetros de entrada

  • as_of_datestringdate-time

    Return contract configuration as of this timestamp; cannot be combined with include_ledgers.

  • contract_idstringObligatoriouuid

    ID of the contract to retrieve.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the contract.

  • include_balanceboolean

    Include current credit and commit balances.

  • include_ledgersboolean

    Include commit and credit ledgers; cannot be combined with as_of_date.

  • webhook_notification_idstring

    Webhook notification that triggered this request, when applicable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract Edit HistoryMETRONOME_GET_CONTRACT_EDIT_HISTORYAcción

List all recorded edits made to a Metronome contract over time.

Parámetros de entrada

  • contract_idstringObligatoriouuid

    ID of the contract whose edit history is requested.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the contract.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract Named ScheduleMETRONOME_GET_CONTRACT_NAMED_SCHEDULEAcción

Get the segments of a named schedule for a customer's Metronome contract, optionally selected by date and schedule properties.

Parámetros de entrada

  • propertiesobject

    Key-value qualifiers selecting the applicable schedule.

  • contract_idstringObligatoriouuid

    ID of the contract whose schedule will be retrieved.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the contract.

  • covering_datestringdate-time

    Return at most the segment covering this date; omit to return every segment.

  • schedule_namestringObligatorio

    Identifier of the named schedule to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract Rate ScheduleMETRONOME_GET_CONTRACT_RATE_SCHEDULEAcción

Get one page of entitled contract rates at a point in time, including contract overrides.

Parámetros de entrada

  • limitinteger

    Maximum rate segments to return in this page.

  • next_pagestring

    Cursor returned by a previous call; omit for the first page.

  • selectorsobject[]

    Selectors; rates matching any selector are returned.

  • contract_idstringObligatoriouuid

    ID of the contract whose rate schedule is requested.

  • customer_idstringObligatoriouuid

    ID of the customer whose rate schedule is requested.

  • effective_atstringdate-time

    Timestamp overlapping the requested rate segments; omit to use now.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get CustomerMETRONOME_GET_CUSTOMERAcción

Get a Metronome customer by ID, including aliases, configuration, and custom fields.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Customer AlertMETRONOME_GET_CUSTOMER_ALERTAcción

Get a threshold notification's configuration and current evaluation status for a specific customer.

Parámetros de entrada

  • alert_idstringObligatorio

    Metronome ID of the threshold notification.

  • customer_idstringObligatorio

    Metronome ID of the customer.

  • seat_filterobject

    Seat group key-value pair used to select a seat notification.

  • group_valuesobject[]

    Presentation group key-value filters for a spend notification.

  • alert_specifiersobject[]

    Commit and credit custom field filters used to select the notification.

  • plans_or_contractsstringenum

    Select plan or contract notifications during a parallel migration.

    PLANSCONTRACTS
  • custom_field_filtersobject[]

    Custom field filters used to select the notification.

  • webhook_notification_idstring

    Webhook notification ID that triggered this status lookup.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Customer Billing Provider ConfigurationsMETRONOME_GET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcción

Fetch active or archived billing provider configurations for a customer.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer whose configurations to retrieve.

  • include_archivedboolean

    Whether to include archived billing provider configurations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Customer Named ScheduleMETRONOME_GET_CUSTOMER_NAMED_SCHEDULEAcción

Get the segments of a named schedule configured for a Metronome customer, optionally restricted to the segment covering a date.

Parámetros de entrada

  • customer_idstringObligatoriouuid

    ID of the customer whose schedule will be retrieved.

  • covering_datestringdate-time

    Return at most the segment covering this date; omit to return every segment.

  • schedule_namestringObligatorio

    Identifier of the named schedule to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Customer Revenue System ConfigurationsMETRONOME_GET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcción

Fetch revenue system configurations for a Metronome customer.

Parámetros de entrada

  • providerstring

    Optional revenue system provider filter.

  • customer_idstringObligatorio

    UUID of the customer whose configurations to retrieve.

  • include_archivedboolean

    Whether to include archived revenue system configurations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Embeddable Dashboard URLMETRONOME_GET_EMBEDDABLE_DASHBOARD_URLAcción

Create a secure, time-limited URL for a user-facing customer Metronome dashboard. This returns an embeddable human interface, not dashboard data the agent can inspect; use invoice, usage, commit, or credit read actions when structured data is needed.

Parámetros de entrada

  • dashboardstringObligatorioenum

    Type of customer dashboard to retrieve.

    invoicesusagecommits_and_credits
  • customer_idstringObligatorio

    UUID of the customer whose dashboard to embed.

  • color_overridesobject[]

    Optional dashboard color overrides.

  • dashboard_optionsobject[]

    Dashboard-specific display and filtering options.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get InvoiceMETRONOME_GET_INVOICEAcción

Retrieve one Metronome customer invoice by ID, including its line items and external billing status.

Parámetros de entrada

  • invoice_idstringObligatoriouuid

    ID of the invoice to retrieve.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the invoice.

  • skip_zero_qty_line_itemsboolean

    Whether to omit zero-quantity line items.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Invoice PDFMETRONOME_GET_INVOICE_PDFAcción

Download a Metronome invoice PDF and return an offloaded file reference.

Parámetros de entrada

  • invoice_idstringObligatoriouuid

    ID of the invoice whose PDF to download.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the invoice.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Net BalanceMETRONOME_GET_NET_BALANCEAcción

Get the combined current balance across a filtered set of customer commits and credits.

Parámetros de entrada

  • filtersobject[]

    OR-combined balance filters; fields inside each filter are ANDed.

  • access_typestringenum

    How matching balances are drawn down.

    SPENDspendQUANTITYquantity
  • customer_idstringObligatorio

    ID of the customer.

  • credit_type_idstring

    Pricing unit ID; defaults to USD cents.

  • invoice_inclusion_modestringenum

    Whether draft invoice deductions affect the balance.

    FINALIZEDFINALIZED_AND_DRAFT

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Notification ConfigMETRONOME_GET_NOTIFICATION_CONFIGAcción

Retrieve an offset lifecycle-event notification configuration by ID.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the offset notification configuration to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PackageMETRONOME_GET_PACKAGEAcción

Get one package's name, alias schedule, duration, commits, credits, overrides, scheduled charges, and contract defaults.

Parámetros de entrada

  • package_idstringObligatoriouuid

    ID of the package to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Grouped Usage DataMETRONOME_GET_PAGED_USAGEAcción

Return one page of usage for one customer and billable metric, optionally grouped and filtered by a complete simple or compound metric group key.

Parámetros de entrada

  • limitinteger

    Maximum grouped usage aggregates to return on this page (1-100).

  • group_byobject

    Deprecated single-key grouping. Prefer group_key and group_filters.

  • group_keystring[]

    Complete simple or compound group key configured on the metric.

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • customer_idstringObligatoriouuid

    ID of the customer whose usage to retrieve.

  • starting_onstringdate-time

    Optional inclusive start time aligned to UTC midnight.

  • window_sizestringObligatorioenum

    Aggregate into hourly, daily, or one whole-period ('none') window.

    hourdaynoneHOURDAYNONEHourDayNone
  • ending_beforestringdate-time

    Optional exclusive end time aligned to UTC midnight.

  • group_filtersobject

    Group-key values to include. Keys must occur in group_key and all value arrays together may contain at most 200 entries.

  • billable_metric_idstringObligatoriouuid

    ID of the billable metric to aggregate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProductMETRONOME_GET_PRODUCTAcción

Get a Metronome product by ID, including its current and initial configuration, historical updates, archive state, and custom fields.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the product to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Rate CardMETRONOME_GET_RATE_CARDAcción

Get one rate card's metadata, pricing unit, conversions, aliases, and custom fields.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the rate card to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Rate Card Named ScheduleMETRONOME_GET_RATE_CARD_NAMED_SCHEDULEAcción

Get the segments of a named schedule configured on a Metronome rate card, optionally restricted to the segment covering a date.

Parámetros de entrada

  • rate_card_idstringObligatoriouuid

    ID of the rate card whose named schedule will be retrieved.

  • covering_datestringdate-time

    Return at most the segment covering this date; omit to return every segment.

  • schedule_namestringObligatorio

    Identifier of the named schedule to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get RatesMETRONOME_GET_RATESAcción

Get one page of rate-card prices active at a specific timestamp.

Parámetros de entrada

  • limitinteger

    Maximum rates to return in this page.

  • next_pagestring

    Cursor returned by a previous call; omit for the first page.

  • selectorsobject[]

    Selectors; rates matching any selector are returned.

  • effective_atstringObligatoriodate-time

    Timestamp at which the requested rates must be effective.

  • rate_card_idstringObligatoriouuid

    ID of the rate card to query.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Rate ScheduleMETRONOME_GET_RATE_SCHEDULEAcción

Get one page of scheduled rate-card prices over a requested time window.

Parámetros de entrada

  • limitinteger

    Maximum rate segments to return in this page.

  • next_pagestring

    Cursor returned by a previous call; omit for the first page.

  • selectorsobject[]

    Selectors; rates matching any selector are returned.

  • starting_atstringObligatoriodate-time

    Inclusive beginning of the schedule window.

  • rate_card_idstringObligatoriouuid

    ID of the rate card to query.

  • ending_beforestringdate-time

    Exclusive end of the schedule window.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ServicesMETRONOME_GET_SERVICESAcción

Get Metronome's service registry and current IP addresses for firewall and network allowlist configuration.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Subscription Quantity HistoryMETRONOME_GET_SUBSCRIPTION_QUANTITY_HISTORYAcción

Retrieve historical subscription quantities and prices for a contract subscription.

Parámetros de entrada

  • contract_idstringObligatoriouuid

    ID of the contract that contains the subscription.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the subscription.

  • subscription_idstringObligatoriouuid

    ID of the subscription whose quantity history is requested.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Subscription Seats HistoryMETRONOME_GET_SUBSCRIPTION_SEATS_HISTORYAcción

Get one page of historical seat assignments and quantities for a contract subscription.

Parámetros de entrada

  • limitinteger

    Maximum seat schedule entries to return, from 1 to 10.

  • cursorstring

    Cursor returned by a previous call; omit for the first page.

  • contract_idstringObligatoriouuid

    ID of the contract that contains the subscription.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the subscription.

  • starting_atstringdate-time

    Include seat segments active at or after this timestamp.

  • covering_datestringdate-time

    Return the seat segment active at this time; cannot be combined with a range.

  • ending_beforestringdate-time

    Include seat segments active at or before this timestamp.

  • subscription_idstringObligatoriouuid

    ID of the subscription whose seat history is requested.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Batched Usage DataMETRONOME_GET_USAGE_BATCHAcción

Return one page of usage aggregated across customers and billable metrics for hourly, daily, or whole-period reporting.

Parámetros de entrada

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • starting_onstringObligatoriodate-time

    Inclusive start time aligned to UTC midnight.

  • window_sizestringObligatorioenum

    Aggregate into hourly, daily, or one whole-period ('none') window.

    hourdaynoneHOURDAYNONEHourDayNone
  • customer_idsstring[]

    Customer IDs to include; omit to return usage for all customers.

  • ending_beforestringObligatoriodate-time

    Exclusive end time aligned to UTC midnight and after starting_on.

  • billable_metricsobject[]

    Billable metrics and optional groupings to include; omit for all metrics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Webhook DeliveryMETRONOME_GET_WEBHOOK_DELIVERYAcción

Retrieve one triggered Metronome webhook notification, its exact JSON payload, and every recorded delivery attempt.

Parámetros de entrada

  • webhook_idstringObligatoriouuid

    ID of the webhook destination in the current Metronome environment.

  • triggered_notification_idstringObligatoriouuid

    ID of the triggered notification to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ingest Usage EventsMETRONOME_INGEST_USAGE_EVENTSAcción

Ingest one to 100 usage events that immediately affect customer usage, spend, and billing. Use globally unique transaction IDs; Metronome ignores duplicates for 34 days and accepts events backdated by at most 34 days.

Parámetros de entrada

  • eventsobject[]Obligatorio

    One to 100 usage events to ingest as a single JSON array.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Billable MetricsMETRONOME_LIST_BILLABLE_METRICSAcción

List billable metric definitions, optionally including archived metrics, for pricing and event-matching discovery.

Parámetros de entrada

  • limitinteger

    Maximum billable metrics to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • include_archivedboolean

    Include archived billable metrics in addition to active metrics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Billing ProvidersMETRONOME_LIST_BILLING_PROVIDERSAcción

List account-level billing providers and their delivery-method configurations.

Parámetros de entrada

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Invoice BreakdownsMETRONOME_LIST_BREAKDOWN_INVOICESAcción

List hourly or daily invoice breakdowns for a Metronome customer and time range.

Parámetros de entrada

  • sortstringenum

    Invoice issue-date sort order.

    date_ascdate_desc
  • limitinteger

    Maximum number of breakdowns to return (1-100).

  • statusstring

    Invoice status filter.

  • next_pagestring

    Cursor returned by a previous call.

  • customer_idstringObligatoriouuid

    ID of the customer whose invoice breakdowns to list.

  • starting_onstringObligatoriodate-time

    Inclusive RFC 3339 breakdown-window start.

  • window_sizestringenum

    Breakdown granularity; defaults to day.

    hourdayHOURDAYHourDay
  • ending_beforestringObligatoriodate-time

    RFC 3339 breakdown-window end bound.

  • credit_type_idstring

    Return only invoices for this credit type ID.

  • skip_zero_qty_line_itemsboolean

    Whether to omit zero-quantity line items.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ContractsMETRONOME_LIST_CONTRACTSAcción

List one page of a customer's current v2 contracts with optional balances, ledgers, and archive filters.

Parámetros de entrada

  • limitnumber

    Maximum contracts to return in this page, from 1 to 20.

  • cursorstring

    Cursor returned by a previous call; omit for the first page.

  • customer_idstringObligatoriouuid

    ID of the customer whose contracts are listed.

  • starting_atstringdate-time

    Include contracts starting at or after this timestamp.

  • covering_datestringdate-time

    Include contracts active at this timestamp.

  • include_balanceboolean

    Include credit and commit balances.

  • include_ledgersboolean

    Include commit and credit ledgers in each contract.

  • include_archivedboolean

    Include archived contracts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Contract Named SchedulesMETRONOME_LIST_CONTRACTS_NAMED_SCHEDULESAcción

List one page of contract-level named schedules for a Metronome customer, with optional contract, name, property, and date filters.

Parámetros de entrada

  • limitinteger

    Maximum number of named schedules to return on this page.

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • propertiesobject

    Key-value subset that each returned schedule must contain.

  • contract_idstringuuid

    Contract ID used to restrict results to one contract.

  • customer_idstringObligatoriouuid

    ID of the customer whose schedules will be listed.

  • covering_datestringdate-time

    Return at most one segment covering this date for each schedule.

  • schedule_namestring

    Schedule name used to restrict the results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Contracts On PackageMETRONOME_LIST_CONTRACTS_ON_PACKAGEAcción

List one page of customer contracts provisioned from a package over a selected time period.

Parámetros de entrada

  • limitinteger

    Maximum contracts to return in this page.

  • next_pagestring

    Cursor returned by a previous call; omit for the first page.

  • package_idstringObligatoriouuid

    ID of the package whose contracts are listed.

  • starting_atstringdate-time

    Include contracts starting at or after this timestamp.

  • covering_datestringdate-time

    Include contracts active at this timestamp.

  • include_archivedboolean

    Include archived contracts in the results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Customer AlertsMETRONOME_LIST_CUSTOMER_ALERTSAcción

List one page of threshold notifications and their current evaluation statuses for a customer.

Parámetros de entrada

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • customer_idstringObligatorio

    Metronome ID of the customer.

  • alert_statusesstring[]

    Notification statuses to include; omit to return only enabled alerts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Customer BalancesMETRONOME_LIST_CUSTOMER_BALANCESAcción

List one page of a customer's current commit and credit balances.

Parámetros de entrada

  • idstring

    Return only this commit or credit ID.

  • limitinteger

    Maximum balances to return; defaults to 25.

  • next_pagestring

    Cursor returned by a previous call.

  • access_typestringenum

    Filter by balance drawdown method.

    SPENDspendQUANTITYquantity
  • customer_idstringObligatorio

    ID of the customer whose balances are listed.

  • starting_atstringdate-time

    Return balances with access on or after this time.

  • covering_datestringdate-time

    Return balances whose access schedule covers this time.

  • include_balanceboolean

    Include calculated balance amounts.

  • include_ledgersboolean

    Include transaction ledgers.

  • effective_beforestringdate-time

    Return balances with access before this time.

  • include_archivedboolean

    Include archived balances.

  • exclude_zero_balancesboolean

    Exclude balances with zero amounts.

  • webhook_notification_idstring

    Webhook notification that triggered this query.

  • include_contract_balancesboolean

    Include contract-level balances.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Customer Billable MetricsMETRONOME_LIST_CUSTOMER_BILLABLE_METRICSAcción

List billable metrics available for a Metronome customer, optionally filtering to the current plan or including archived metrics.

Parámetros de entrada

  • limitinteger

    Maximum number of billable metrics to return (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • customer_idstringObligatorio

    UUID of the customer whose available billable metrics to list.

  • on_current_planboolean

    When true, return only metrics on the customer's current plan.

  • include_archivedboolean

    When true, include archived billable metrics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Customer CommitsMETRONOME_LIST_CUSTOMER_COMMITSAcción

List one page of customer-level and optionally contract-level commits.

Parámetros de entrada

  • limitinteger

    Maximum commits to return.

  • commit_idstring

    Return only this commit.

  • next_pagestring

    Cursor returned by a previous call.

  • access_typestringenum

    Filter by drawdown method.

    SPENDspendQUANTITYquantity
  • customer_idstringObligatorio

    ID of the customer whose commits are listed.

  • starting_atstringdate-time

    Return commits with access on or after this time.

  • covering_datestringdate-time

    Return commits whose access covers this time.

  • include_balanceboolean

    Include calculated balances.

  • include_ledgersboolean

    Include commit ledgers.

  • effective_beforestringdate-time

    Return commits with access before this time.

  • include_archivedboolean

    Include archived commits.

  • include_contract_commitsboolean

    Include contract-level commits.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Customer CreditsMETRONOME_LIST_CUSTOMER_CREDITSAcción

List one page of customer-level and optionally contract-level credits.

Parámetros de entrada

  • limitinteger

    Maximum credits to return.

  • credit_idstring

    Return only this credit.

  • next_pagestring

    Cursor returned by a previous call.

  • customer_idstringObligatorio

    ID of the customer whose credits are listed.

  • starting_atstringdate-time

    Return credits with access on or after this time.

  • covering_datestringdate-time

    Return credits whose access covers this time.

  • include_balanceboolean

    Include calculated balances.

  • include_ledgersboolean

    Include credit ledgers.

  • effective_beforestringdate-time

    Return credits with access before this time.

  • include_archivedboolean

    Include archived credits.

  • include_contract_creditsboolean

    Include contract-level credits.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CustomersMETRONOME_LIST_CUSTOMERSAcción

List active or archived Metronome customers, optionally filtering by customer, ingest, Salesforce, or Stripe identifiers.

Parámetros de entrada

  • limitinteger

    Maximum customers to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • customer_idsstring[]

    Return customers whose Metronome IDs are in this list (up to 100).

  • ingest_aliasstring

    Return customers matching this event-ingestion alias.

  • only_archivedboolean

    Return only archived customers instead of the default active customers.

  • stripe_customer_idstring

    Return active customers linked to this Stripe customer ID.

  • salesforce_account_idsstring[]

    Return customers linked to any of these Salesforce account IDs (up to 100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Custom Field KeysMETRONOME_LIST_CUSTOM_FIELD_KEYSAcción

List active Metronome custom field keys, optionally filtered to selected entity types.

Parámetros de entrada

  • entitiesstring[]

    Optional entity types whose active custom field keys should be returned.

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Historical BalancesMETRONOME_LIST_HISTORICAL_BALANCESAcción

List one page of commits and credits moved to historical storage.

Parámetros de entrada

  • idstring

    Return only this historical balance.

  • limitinteger

    Maximum historical balances to return.

  • next_pagestring

    Cursor returned by a previous call.

  • contract_idstring

    Return balances from this contract.

  • customer_idstringObligatorio

    ID of the customer whose historical balances are listed.

  • starting_atstringdate-time

    Return balances with access on or after this time.

  • covering_datestringdate-time

    Return balances whose access covered this time.

  • include_ledgersboolean

    Include transaction ledgers.

  • effective_beforestringdate-time

    Return balances with access before this time.

  • moved_to_history_afterstringdate-time

    Return balances moved to history at or after this time.

  • moved_to_history_beforestringdate-time

    Return balances moved to history before this time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List InvoicesMETRONOME_LIST_INVOICESAcción

List one page of invoices for a Metronome customer with optional status, type, contract, credit type, and billing-period filters.

Parámetros de entrada

  • sortstringenum

    Sort order by invoice issue date.

    date_ascdate_desc
  • typestringenum

    Invoice type to return; omit to return all types.

    USAGEUSAGE_CONSOLIDATEDSCHEDULED
  • limitinteger

    Maximum number of invoices to return (1-100).

  • statusstring

    Invoice status, such as DRAFT, FINALIZED, or VOID.

  • next_pagestring

    Cursor returned by a previous call; omit for the first page.

  • contract_idstringuuid

    Return only invoices for this contract ID.

  • customer_idstringObligatoriouuid

    ID of the customer whose invoices to list.

  • starting_onstringdate-time

    Inclusive RFC 3339 lower bound for invoice billing-period starts.

  • ending_beforestringdate-time

    Exclusive RFC 3339 upper bound for invoice billing-period ends.

  • credit_type_idstring

    Return only invoices using this credit type ID.

  • webhook_notification_idstring

    Webhook notification ID that triggered this request.

  • skip_zero_qty_line_itemsboolean

    Whether to omit line items whose quantity is zero.

  • include_historical_commit_invoicesboolean

    Whether to include historical commit invoices.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Offset Notification ConfigsMETRONOME_LIST_OFFSET_NOTIFICATION_CONFIGSAcción

List one page of user-created lifecycle-event notifications that publish webhooks before or after their base events.

Parámetros de entrada

  • limitnumber

    Maximum notification configurations to return, up to 400.

  • cursorstring

    Cursor returned by a previous call; omit for the first page.

  • archive_filterstringenum

    Archive state to include; Metronome defaults to NOT_ARCHIVED.

    ARCHIVEDNOT_ARCHIVEDALL

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PackagesMETRONOME_LIST_PACKAGESAcción

List contract packages with their terms, commits, overrides, scheduled charges, and archive state.

Parámetros de entrada

  • limitinteger

    Maximum packages to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • archive_filterstringenum

    Choose whether to return archived packages, active packages, or all packages.

    ARCHIVEDNOT_ARCHIVEDALLarchivednot_archivedall

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Pricing UnitsMETRONOME_LIST_PRICING_UNITSAcción

List fiat and custom pricing units available for rates, credits, and commits.

Parámetros de entrada

  • limitinteger

    Maximum pricing units to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProductsMETRONOME_LIST_PRODUCTSAcción

List Metronome products and their current configuration, version history, metadata, and archive state.

Parámetros de entrada

  • limitinteger

    Maximum products to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

  • archive_filterstringenum

    Choose whether to return archived products, active products, or all products.

    ARCHIVEDNOT_ARCHIVEDALL

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Rate CardsMETRONOME_LIST_RATE_CARDSAcción

List rate cards with their IDs, names, descriptions, aliases, pricing units, and metadata.

Parámetros de entrada

  • limitinteger

    Maximum rate cards to return in this page (1-100).

  • next_pagestring

    Opaque cursor returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Seat BalancesMETRONOME_LIST_SEAT_BALANCESAcción

List one page of seat-level commit and credit balances for a contract.

Parámetros de entrada

  • limitinteger

    Maximum seats to return; defaults to 25.

  • cursorstring

    Cursor returned by a previous call.

  • seat_idsstring[]

    Only these seat identifiers.

  • contract_idstringObligatorio

    ID of the contract whose seat balances are listed.

  • customer_idstringObligatorio

    ID of the customer whose seat balances are listed.

  • starting_atstringdate-time

    Include balances effective on or after this time.

  • covering_datestringdate-time

    Include balances covering this time.

  • include_ledgersboolean

    Include ledgers; requires include_credits_and_commits.

  • effective_beforestringdate-time

    Include balances effective on or before this time.

  • subscription_idsstring[]

    Only seats from these seat-based subscriptions.

  • skip_missing_seat_idsboolean

    Omit unknown seat IDs instead of returning an error.

  • include_credits_and_commitsboolean

    Include per-seat credit and commit records.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Spend Invoice BreakdownsMETRONOME_LIST_SPEND_BREAKDOWN_INVOICESAcción

List one page of customer invoice spend breakdowns by time window and optional presentation groups.

Parámetros de entrada

  • sortstringenum

    Invoice issue-date sort order.

    date_ascdate_desc
  • limitinteger

    Maximum number of breakdowns to return (1-100).

  • next_pagestring

    Cursor returned by a previous call.

  • group_keysstring[]

    Presentation keys by which to break down spend.

  • customer_idstringObligatoriouuid

    ID of the customer whose spend to break down.

  • starting_onstringObligatoriodate-time

    Inclusive RFC 3339 breakdown-window start.

  • window_sizestringenum

    Breakdown granularity; day or one window per billing period.

    daynoneDAYNONEDayNone
  • ending_beforestringObligatoriodate-time

    Exclusive RFC 3339 breakdown-window end.

  • group_filtersobject

    Allowed values for each requested group key.

  • credit_type_idstringuuid

    Return only invoices for this credit type ID.

  • include_list_pricesboolean

    Whether to include list prices for usage and subscription items.

  • skip_zero_qty_line_itemsboolean

    Whether to omit zero-quantity line items.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List System Notification ConfigsMETRONOME_LIST_SYSTEM_NOTIFICATION_CONFIGSAcción

List one page of Metronome system lifecycle notification types and whether their webhook publishing is enabled.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook DeliveriesMETRONOME_LIST_WEBHOOK_DELIVERIESAcción

List one page of triggered notifications and delivery summaries for a Metronome webhook destination from the last 30 days.

Parámetros de entrada

  • limitinteger

    Maximum triggered notifications to return in this page (1-100).

  • filtersobject

    Optional customer, notification type, and notification ID filters.

  • end_datestringdate-time

    Exclusive latest first-attempt timestamp; defaults to the current time.

  • next_pagestring

    Cursor returned by a previous call with the same path and filters.

  • start_datestringObligatoriodate-time

    Inclusive earliest first-attempt timestamp; must be within the last 30 days.

  • webhook_idstringObligatoriouuid

    ID of the webhook destination in the current Metronome environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Move Rate Card ProductsMETRONOME_MOVE_RATE_CARD_PRODUCTSAcción

Move selected products to new invoice-order positions on a rate card.

Parámetros de entrada

  • rate_card_idstringObligatoriouuid

    ID of the rate card to reorder.

  • product_movesobject[]Obligatorio

    Products and their new positions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Preview Customer EventsMETRONOME_PREVIEW_CUSTOMER_EVENTSAcción

Calculate customer invoice previews from supplied usage events without ingesting the events.

Parámetros de entrada

  • modestringenum

    Replace historical usage or merge these events with existing usage; defaults to replace.

    replacemerge
  • eventsobject[]Obligatorio

    Usage events to include in the preview.

  • customer_idstringObligatoriouuid

    ID of the customer whose invoices to preview.

  • skip_zero_qty_line_itemsboolean

    Whether to omit zero-quantity line items from preview invoices.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Regenerate InvoiceMETRONOME_REGENERATE_INVOICEAcción

Regenerate a previously voided Metronome invoice using current rates, balances, and fees, distribute the replacement through the configured billing provider, and return its new invoice ID. This is a billing-impacting operation.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the previously voided invoice to regenerate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Release External Payment Gate Threshold CommitMETRONOME_RELEASE_EXTERNAL_PAYMENT_GATE_THRESHOLD_COMMITAcción

Complete or cancel a threshold commit after an external payment attempt.

Parámetros de entrada

  • outcomestringObligatorioenum

    Outcome of the external payment attempt.

    paidPAIDfailedFAILED
  • workflow_idstringObligatorio

    Workflow ID from the payment_gate.external_initiate webhook.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset Customer AlertsMETRONOME_RESET_CUSTOMER_ALERTSAcción

Clear a threshold notification's cached state for a customer and trigger an asynchronous re-evaluation.

Parámetros de entrada

  • alert_idstringObligatorio

    Metronome ID of the threshold notification to reset.

  • customer_idstringObligatorio

    Metronome ID of the customer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Schedule Pro Services InvoiceMETRONOME_SCHEDULE_PRO_SERVICES_INVOICEAcción

Schedule an invoice for professional service terms on a contract.

Parámetros de entrada

  • issued_atstringObligatoriodate-time

    Timestamp when the invoice is issued.

  • line_itemsobject[]Obligatorio

    Professional service terms and amounts to invoice.

  • contract_idstringObligatoriouuid

    ID of the contract containing the professional services.

  • customer_idstringObligatoriouuid

    ID of the customer receiving the invoice.

  • netsuite_invoice_header_endstringdate-time

    NetSuite invoice-header end timestamp.

  • netsuite_invoice_header_startstringdate-time

    NetSuite invoice-header start timestamp.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search EventsMETRONOME_SEARCH_EVENTSAcción

Retrieve recent usage events by transaction ID to sample ingestion, customer matching, metric matching, and duplicate handling. Metronome heavily rate limits this endpoint; use targeted samples rather than broad or repeated polling.

Parámetros de entrada

  • transaction_idsstring[]Obligatorio

    Transaction IDs for events ingested within the last 34 days. This endpoint is heavily rate limited, so use only targeted samples and avoid broad or repeated polling.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Customer Billable StatusMETRONOME_SET_CUSTOMER_BILLABLE_STATUSAcción

Set whether a Metronome customer is billable from a specified effective time.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer whose status to set.

  • effective_atstringObligatorio

    RFC 3339 timestamp at which the billable state becomes effective.

  • billable_statusstringObligatorioenum

    New billable state for the customer.

    billableunbillable

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Customer Billing Provider ConfigurationsMETRONOME_SET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcción

Create one or more billing provider configurations for Metronome customers.

Parámetros de entrada

  • dataobject[]Obligatorio

    Billing provider configurations to create.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Customer NameMETRONOME_SET_CUSTOMER_NAMEAcción

Update the display name of a Metronome customer.

Parámetros de entrada

  • namestringObligatorio

    New customer name; Metronome truncates it to 160 characters.

  • customer_idstringObligatorio

    UUID of the customer to rename.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Customer Revenue System ConfigurationsMETRONOME_SET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcción

Create one or more revenue system configurations for Metronome customers.

Parámetros de entrada

  • dataobject[]Obligatorio

    Revenue system configurations to create.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Custom FieldsMETRONOME_SET_CUSTOM_FIELDSAcción

Transactionally set or overwrite custom field values on one Metronome entity instance while preserving unspecified fields.

Parámetros de entrada

  • entitystringObligatorioenum

    Metronome entity type whose custom field values will be set.

    alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7
  • entity_idstringObligatoriouuid

    Metronome UUID of the specific entity whose fields will be set.

  • custom_fieldsobjectObligatorio

    Custom field key-value pairs to set transactionally. Values may contain at most 200 characters. Existing matching keys are overwritten.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Customer Ingest AliasesMETRONOME_SET_INGEST_ALIASESAcción

Replace the complete set of usage ingest aliases for a Metronome customer.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer to update.

  • ingest_aliasesstring[]Obligatorio

    Complete replacement set of aliases accepted in usage events.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Rate Card Products OrderMETRONOME_SET_RATE_CARD_PRODUCTS_ORDERAcción

Replace the complete invoice display order of products on a rate card.

Parámetros de entrada

  • rate_card_idstringObligatoriouuid

    ID of the rate card to reorder.

  • product_orderstring[]Obligatorio

    Product IDs in the complete desired invoice order.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Up Billing ProviderMETRONOME_SET_UP_BILLING_PROVIDERAcción

Set up account-level Metronome configuration for a marketplace billing provider.

Parámetros de entrada

  • configurationobjectObligatorio

    Provider- and delivery-method-specific account configuration.

  • delivery_methodstringObligatorioenum

    Method used to deliver invoices for this configuration.

    direct_to_billing_provideraws_sqsaws_sns
  • billing_providerstringObligatorioenum

    Marketplace billing provider to configure.

    aws_marketplaceazure_marketplacegcp_marketplace

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Usage FilterMETRONOME_SET_USAGE_FILTERAcción

Route a customer's grouped usage to a contract starting at a specified time.

Parámetros de entrada

  • group_keystringObligatorio

    Billable-metric group key used to route usage.

  • contract_idstringObligatoriouuid

    ID of the contract receiving the usage filter.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the contract.

  • starting_atstringObligatoriodate-time

    Timestamp when the usage filter becomes active.

  • group_valuesstring[]Obligatorio

    Group values routed to this contract.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Billable MetricMETRONOME_UPDATE_BILLABLE_METRICAcción

Rename an existing Metronome billable metric. Metronome does not allow this endpoint to change the metric's filtering or aggregation configuration.

Parámetros de entrada

  • namestringObligatorio

    New display name for the billable metric.

  • billable_metric_idstringObligatorio

    UUID of the billable metric to rename.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Commit End DateMETRONOME_UPDATE_COMMIT_END_DATEAcción

Update the access or invoice end date of a prepaid customer commit.

Parámetros de entrada

  • commit_idstringObligatorio

    ID of the prepaid commit.

  • customer_idstringObligatorio

    ID of the customer whose commit is updated.

  • access_ending_beforestringdate-time

    New exclusive end of commit access.

  • invoices_ending_beforestringdate-time

    New exclusive end of commit invoicing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Contract End DateMETRONOME_UPDATE_CONTRACT_END_DATEAcción

Set, move, or remove a contract's exclusive end timestamp.

Parámetros de entrada

  • contract_idstringObligatoriouuid

    ID of the contract to update.

  • customer_idstringObligatoriouuid

    ID of the customer whose contract will be updated.

  • ending_beforestringdate-time

    Exclusive contract end timestamp; omit to make the contract open-ended.

  • allow_ending_before_finalized_invoiceboolean

    Allow the contract to end before an existing finalized invoice period.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Contract Named ScheduleMETRONOME_UPDATE_CONTRACT_NAMED_SCHEDULEAcción

Set a dated segment on a named schedule for a customer's Metronome contract.

Parámetros de entrada

  • valueobject | array | string | number | integer | boolean | nullObligatorio

    Value to set; its structure is specific to the named schedule.

  • propertiesobject

    Key-value qualifiers selecting the schedule to update.

  • contract_idstringObligatoriouuid

    ID of the contract whose schedule will be updated.

  • customer_idstringObligatoriouuid

    ID of the customer that owns the contract.

  • starting_atstringObligatoriodate-time

    Inclusive start time of the schedule segment.

  • ending_beforestringdate-time

    Exclusive end time of the segment; omit when it has no fixed end.

  • schedule_namestringObligatorio

    Identifier of the named schedule to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Credit End DateMETRONOME_UPDATE_CREDIT_END_DATEAcción

Update the access end date of a customer credit.

Parámetros de entrada

  • credit_idstringObligatorio

    ID of the credit to update.

  • customer_idstringObligatorio

    ID of the customer whose credit is updated.

  • access_ending_beforestringObligatoriodate-time

    New exclusive end of credit access.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Customer ConfigurationMETRONOME_UPDATE_CUSTOMER_CONFIGAcción

Update the Salesforce account configuration for a Metronome customer.

Parámetros de entrada

  • customer_idstringObligatorio

    UUID of the customer to update.

  • salesforce_account_idstring

    Salesforce account ID to link, or null to remove the existing link.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Customer Named ScheduleMETRONOME_UPDATE_CUSTOMER_NAMED_SCHEDULEAcción

Set a dated segment on a named schedule configured for a Metronome customer.

Parámetros de entrada

  • valueobject | array | string | number | integer | boolean | nullObligatorio

    Value to set; its structure is specific to the named schedule.

  • customer_idstringObligatoriouuid

    ID of the customer whose schedule will be updated.

  • starting_atstringObligatoriodate-time

    Inclusive start time of the schedule segment.

  • ending_beforestringdate-time

    Exclusive end time of the segment; omit when it has no fixed end.

  • schedule_namestringObligatorio

    Identifier of the named schedule to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Invoice Issue DateMETRONOME_UPDATE_INVOICE_ISSUE_DATEAcción

Reschedule the issue date of one draft contract invoice without changing future billing cycles.

Parámetros de entrada

  • invoice_idstringObligatoriouuid

    ID of the draft invoice to update.

  • issue_datestringObligatoriodate-time

    New invoice issue timestamp; it cannot be after the contract end date.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ProductMETRONOME_UPDATE_PRODUCTAcción

Schedule a configuration update for a Metronome product without changing its type. The effective timestamp must be on an hour boundary.

Parámetros de entrada

  • namestring

    Updated invoice display name; omit to retain the current name.

  • tagsstring[]

    Updated product tags.

  • product_idstringObligatoriouuid

    ID of the product to update.

  • starting_atstringObligatoriodate-time

    Hour-boundary timestamp when the update takes effect.

  • is_refundableboolean

    Updated refundability setting.

  • composite_tagsstring[]

    Updated tags selecting composite component products.

  • pricing_group_keystring[]

    Updated group keys that determine separate prices.

  • quantity_roundingobject

    Updated usage quantity rounding configuration.

  • billable_metric_idstringuuid

    Updated billable metric ID for a usage product.

  • exclude_free_usageboolean

    Whether zero-cost products are excluded from composite usage.

  • quantity_conversionobject

    Updated usage quantity conversion configuration.

  • composite_product_idsstring[]

    Updated component product IDs for a composite product.

  • presentation_group_keystring[]

    Updated group keys used to group invoice line items.

  • include_composite_spendboolean

    Whether spend from other composite products contributes to this product.

  • netsuite_overage_item_idstring

    Updated NetSuite overage item ID, when enabled.

  • netsuite_internal_item_idstring

    Updated NetSuite item ID, when enabled.

  • sql_breakdown_granularitystringenum

    Whether SQL billable metric usage is evaluated hourly or per service period.

    HOURhourSERVICE_PERIODservice_period

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Rate CardMETRONOME_UPDATE_RATE_CARDAcción

Update a rate card's metadata, alias schedule, or pricing-unit conversions.

Parámetros de entrada

  • namestring

    New internal rate card name.

  • aliasesobject[]

    Replacement alias schedule.

  • descriptionstring

    New rate card description.

  • rate_card_idstringObligatoriouuid

    ID of the rate card to update.

  • add_credit_type_conversionsobject[]

    New pricing-unit conversions to add.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Rate Card Named ScheduleMETRONOME_UPDATE_RATE_CARD_NAMED_SCHEDULEAcción

Set a dated segment on a named schedule configured for a Metronome rate card.

Parámetros de entrada

  • valueobject | array | string | number | integer | boolean | nullObligatorio

    Value to set; its structure is specific to the named schedule.

  • starting_atstringObligatoriodate-time

    Inclusive start time of the schedule segment.

  • rate_card_idstringObligatoriouuid

    ID of the rate card whose named schedule will be updated.

  • ending_beforestringdate-time

    Exclusive end time of the segment; omit when it has no fixed end.

  • schedule_namestringObligatorio

    Identifier of the named schedule to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert Anrok API TokenMETRONOME_UPSERT_ANROK_API_TOKENAcción

Set the Anrok API token used by specified Metronome billing delivery methods.

Parámetros de entrada

  • anrok_api_tokenstringObligatorio

    Opaque Anrok API token to store for the specified delivery methods.

  • delivery_method_idsstring[]Obligatorio

    Billing provider delivery method IDs to associate with the Anrok token.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert Avalara CredentialsMETRONOME_UPSERT_AVALARA_CREDENTIALSAcción

Set Avalara credentials for specified Metronome billing delivery methods.

Parámetros de entrada

  • avalara_passwordstringObligatorio

    Password for the Avalara account.

  • avalara_usernamestringObligatorio

    Username for the Avalara account.

  • avalara_environmentstringObligatorioenum

    Avalara environment in which the credentials are valid.

    PRODUCTIONSANDBOX
  • commit_transactionsboolean

    Whether Avalara should commit transactions for reporting and tax filing.

  • delivery_method_idsstring[]Obligatorio

    Billing provider delivery method IDs to associate with the credentials.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Void InvoiceMETRONOME_VOID_INVOICEAcción

Permanently void a Metronome invoice. This destructive billing operation cannot be undone.

Parámetros de entrada

  • idstringObligatoriouuid

    ID of the invoice to void.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not