POST
/v1/private/projects/{id}/kpi-cardsGet Project KPI CardsGets KPI card metrics for a project
Parameters
idstring · uuidpathrequiredRequest body
application/json
objectKpiCardRequest
entity_typestringrequiredfiltersstringinterval_endstring · date-timeinterval_startstring · date-timerequired{
"entity_type": "spans",
"filters": "string",
"interval_end": "2026-06-09T00:00:00Z",
"interval_start": "2026-06-09T00:00:00Z"
}Responses
objectKpiCardResponse
statsarray of objectShow child attributes
Show array items
current_valuenumber · doubleMetric value for the current period. Unit depends on `type`: `count` is an integer count; `errors` is a percentage in [0, 100]; `avg_duration` is milliseconds; `total_cost` is in USD.
previous_valuenumber · doubleMetric value for the immediately preceding period of equal length. Same unit as `current_value`.
typestring{
"stats": [
{
"current_value": 0,
"previous_value": 0,
"type": "avg_duration"
}
]
}objectErrorMessage
codeinteger · int32detailsstringmessagestring{
"code": 0,
"details": "string",
"message": "string"
}