Create a custom KPI
Creates a custom KPI: measures aggregated hour by hour from a source (system schema or custom data definition) into a dedicated aggregate table, kept up to date by a scheduled event. Field paths must come from listCustomKpiFields. The KPI is returned with status: backfilling while its history (lookback_max_months, 12 by default) is computed asynchronously. Use previewCustomKpi to check a configuration before creating it.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Request Body
Responses
Custom KPI created successfully.
Create a custom KPI Creates a custom KPI: measures aggregated hour by hour from a source (system schema or custom data definition) into a dedicated aggregate table, kept up to date by a scheduled event. Field paths must come from listCustomKpiFields. The KPI is returned with status: backfilling while its history (lookback_max_months, 12 by default) is computed asynchronously. Use previewCustomKpi to check a configuration before creating it. POST /v1/custom-stats/kpis createCustomKpi Custom KPIs spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. Custom KPI created successfully. Client error - Invalid request or authentication issues Server error - Internal processing failure