Cortana AI icon

Cortana AI

Read and create data in Cortana — conversions, contacts, attribution, and more

Actions49

Stripe → Get Metrics

AI-generated

Summary

Fetches Stripe revenue metrics for the selected Cortana business over a date range, grouped into daily or monthly buckets.

Inputs

  • Business Name or ID (required) — Cortana business to query; select it from the list or provide its ID with an expression.
  • From (required) — Start of the metrics window. The value is converted to an ISO timestamp before it is sent.
  • To (required) — End of the metrics window. The value is converted to an ISO timestamp before it is sent.
  • Period Type — Metric bucket granularity: Daily or Monthly. Defaults to Daily.

Output shape

A list of JSON items containing the metrics response data.

If the API returns an array in data, each array element becomes an item. Otherwise, the data object is returned as one item; if data is absent, the full response is returned.

Links

Discussion