kpi-dashboard-builder
Build and manage KPI dashboards using SAP OData services to monitor business metrics through charts, tables, and forecasts with automated data refresh.
Instructions
Create and manage KPI dashboards
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
dashboard | No | Dashboard configuration (required for create) | |
dashboardId | No | Dashboard ID (required for update/delete/get/refresh) | |
includeData | No | Include current KPI data in response | |
updates | No | Fields to update (for update action) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"enum": [
"create",
"update",
"delete",
"list",
"get",
"refresh"
],
"type": "string"
},
"dashboard": {
"additionalProperties": false,
"description": "Dashboard configuration (required for create)",
"properties": {
"description": {
"type": "string"
},
"kpis": {
"items": {
"additionalProperties": false,
"properties": {
"aggregation": {
"enum": [
"sum",
"count",
"avg",
"min",
"max",
"distinct"
],
"type": "string"
},
"entityType": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"serviceId": {
"minLength": 1,
"type": "string"
},
"timeWindow": {
"additionalProperties": false,
"properties": {
"period": {
"enum": [
"minutes",
"hours",
"days",
"weeks",
"months"
],
"type": "string"
},
"size": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"period",
"size"
],
"type": "object"
},
"type": {
"enum": [
"metric",
"chart",
"gauge",
"table",
"heatmap",
"forecast",
"comparison"
],
"type": "string"
}
},
"required": [
"name",
"type",
"entityType",
"serviceId",
"aggregation",
"timeWindow"
],
"type": "object"
},
"type": "array"
},
"name": {
"minLength": 1,
"type": "string"
},
"refreshInterval": {
"default": 30000,
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"name",
"kpis"
],
"type": "object"
},
"dashboardId": {
"description": "Dashboard ID (required for update/delete/get/refresh)",
"type": "string"
},
"includeData": {
"default": false,
"description": "Include current KPI data in response",
"type": "boolean"
},
"updates": {
"additionalProperties": {},
"description": "Fields to update (for update action)",
"type": "object"
}
},
"required": [
"action"
],
"type": "object"
}