Skip to content

Metrics

Method & path Scope Notes
GET /metrics/pipeline records:read Every active pipeline, or one with ?pipelineId=
Terminal window
curl -s https://api.mety.ai/api/v1/metrics/pipeline -H "Authorization: Bearer $METY_KEY"
{
"data": {
"pipelines": [{
"pipelineId": "…", "name": "Sales",
"byCurrency": [{
"currency": "EUR", "openDeals": 12,
"openAmountCents": 1850000, "weightedOpenAmountCents": 620000,
"openMrrCents": 90000, "openArrCents": 1080000, "weightedMrrCents": 41000,
"wonThisMonthCount": 2, "wonThisMonthAmountCents": 300000, "wonThisMonthMrrCents": 10000
}]
}],
"totals": { "openDeals": 12, "wonThisMonth": 2, "lostThisMonth": 1, "organizations": 140, "contacts": 310, "staleContacts48h": 27 }
}
}
  • Money is grouped per currency and never mixed or converted. Report it per currency.
  • openAmountCents counts one-off deals; recurring ones are in openMrrCents / openArrCents.
  • Weighted = value × stage probability ÷ 100, rounded per deal (half-even).
  • Active deals only. “This month” starts at local midnight of the 1st in the account timezone.
  • staleContacts48h: active lead / prospect contacts without doNotContact whose lastContactedAt is NULL or older than 48 hours (the 48-hour recipe lists them).

Over MCP: pipeline_metrics { pipelineId? }.