GetChartsDataRequest¶
| Field | Type | Description |
|---|---|---|
| charts | List of all charts to fetch data for. | |
| time_range | ||
| platform_filter | If this is empty, the platform filter for the workflow backing each chart will be used. | |
| and_filter | Optional filter to apply on top of the platform filter. This is AND against the platform filter (either supplied or the one from the workflow backing each chart). |
Example¶
JSON
{
"and_filter": {
"filter": [
{
"name": "My Workflow",
"value": "example"
}
]
},
"charts": [
{
"chart_id": {
"workflow": {
"aggregated_action_id": "actn_ghi789",
"chart_rule_id": "actn_ghi789",
"workflow_id": "wrkf_abc123"
}
},
"counter_configuration": {
"aggregation_type": "SUM"
},
"histogram_configuration": {
"percentile": 1.0,
"percentiles": [
1.0
]
},
"insight_comparison_configuration": {
"lhs_id": "abc-123-def",
"rhs_id": "abc-123-def"
},
"limit_strategy": {},
"rate_configuration": {
"aggregation_type": "AVG"
},
"sankey_configuration": {
"compaction_target": 1,
"top_k_paths": 1
},
"time_series_display_mode": {},
"top_k_configuration": {
"algorithm_name": "My Workflow"
}
}
],
"platform_filter": [
{
"apple": {
"apps": [
{
"app_id": "com.example.app"
}
]
}
}
],
"time_range": {
"relative_time_range": {
"duration": "3600s",
"offset": "3600s"
}
}
}