Response
The unique identifier for the metric.
A brief description of what the metric measures.
The event that triggers the metric.
An array of filter groups applied to the metric to narrow down the events counted.Show Filter Group Properties
The logical operator (e.g., “and”) used to combine the filters within the group.
An array of individual filters within the group.
The event property to filter by.
The condition to apply (e.g., “equal”).
The value that the event property must match.
The aggregation settings that define how the events are calculated to produce the metric value.Show Aggregation Properties
The aggregation method to apply (e.g., “sum”).
The event property that is aggregated.
The timestamp when the metric was created.
The timestamp when the metric was last updated.
The unique identifier for the organization associated with the metric.
{
"id": "mtr_02zBU3PJ3hJurtFSxDD3Ol",
"description": "No. of Amex Consumer Cards",
"name": "Amex Consumer",
"eventName": "transactions",
"filters": [
{
"operator": "and",
"filters": [
{
"field": "card_scheme",
"operator": "equal",
"value": "amex"
},
{
"field": "card_offering",
"operator": "equal",
"value": "consumer"
}
]
}
],
"aggregation": {
"method": "sum",
"field": "txn_value"
},
"createdAt": "2025-02-24T12:09:05.350876Z",
"updatedAt": "2025-02-24T12:09:05.350877Z",
"organizationID": "8641473c-2d34-46c6-b712-c893934fc8fb"
}