curl --request POST \
--url https://production.hifibridge.com/v2/reporting/metrics/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An Updated Report Title"
}
'{
"status": "success",
"data": {
"id": "1154d700-bd7d-41d5-8676-87b541baa86e",
"profileId": "e4c758d7-5475-4505-ba15-e129db0a441f",
"template": "TRANSFERS",
"name": "An Updated Report Title",
"params": {
"createdAfter": "2025-01-01",
"createdBefore": "2025-12-01",
"calculationInterval": "week"
},
"createdAt": "2025-12-08T22:28:03.922Z",
"updatedAt": "2025-12-08T22:33:04.112Z"
},
"metadata": {}
}curl --request POST \
--url https://production.hifibridge.com/v2/reporting/metrics/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An Updated Report Title"
}
'{
"status": "success",
"data": {
"id": "1154d700-bd7d-41d5-8676-87b541baa86e",
"profileId": "e4c758d7-5475-4505-ba15-e129db0a441f",
"template": "TRANSFERS",
"name": "An Updated Report Title",
"params": {
"createdAfter": "2025-01-01",
"createdBefore": "2025-12-01",
"calculationInterval": "week"
},
"createdAt": "2025-12-08T22:28:03.922Z",
"updatedAt": "2025-12-08T22:33:04.112Z"
},
"metadata": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
id parameter
Request to update an existing metric
Updated metric name
1 - 100Updated metric parameters
Show child attributes
Filter transactions created after this date (ISO 8601)
Filter transactions created before this date (ISO 8601)
Time interval for aggregation
day, week, month, quarter, year Filter by specific user IDs
Filter by transaction directions
onramp, offramp, crypto_to_crypto Filter by transfer statuses (for TRANSFERS template)
COMPLETED, FAILED, PENDING, CANCELLED Dimensions to group results by. Maximum 2 breakdowns allowed. Field names in response data will match these dimension names.
2transactionDirection, transferStatus, userId Maximum number of records to return
1 <= x <= 500Metric updated successfully
Single metric response
success A saved metric definition
Show child attributes
Unique metric identifier
Profile ID that owns this metric
Metric template name
GROSS_VOLUME, TRANSFERS, NEW_CUSTOMERS User-defined metric name
Metric parameters. Structure varies by template, but common fields include:
Additional properties may be present based on the metric template. Each template may define template-specific parameters.
Show child attributes
Filter transactions created after this date (ISO 8601)
Filter transactions created before this date (ISO 8601)
Time interval for aggregation
day, week, month, quarter, year Filter by specific user IDs
Filter by transaction directions
onramp, offramp, crypto_to_crypto Filter by transfer statuses (for TRANSFERS template)
COMPLETED, FAILED, PENDING, CANCELLED Dimensions to group results by. Maximum 2 breakdowns allowed. Field names in response data will match these dimension names.
2transactionDirection, transferStatus, userId Maximum number of records to return
1 <= x <= 500Creation timestamp
Last update timestamp