List Pricing Metrics
/pricing-metrics
List Pricing Metrics
Query Parameters
limit: optional number
maximum100
minimum1
Returns
has_more: boolean
List Pricing Metrics
curl https://api.uselark.ai/pricing-metrics \
-H "X-API-Key: $LARK_API_KEY"
{
"has_more": true,
"pricing_metrics": [
{
"id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"aggregation": {
"aggregation_type": "sum",
"value_field": "compute_hours"
},
"event_name": "job_completed",
"name": "Compute Hours",
"unit": "hours",
"dimensions": [
"string"
]
}
]
}Returns Examples
{
"has_more": true,
"pricing_metrics": [
{
"id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"aggregation": {
"aggregation_type": "sum",
"value_field": "compute_hours"
},
"event_name": "job_completed",
"name": "Compute Hours",
"unit": "hours",
"dimensions": [
"string"
]
}
]
}