Get widget chart data
Changed onFetch the computed chart data for a saved widget.
Timestamp filter required: a gt or gte filter on timestamp must be present — either set on the dashboard, the widget, or passed here as filters. Maximum range: 30 days. Without it the request returns a 400 error.
Override filters: pass filters as a filter JSON object to temporarily replace the widget's own filters for this request. Example: {"operator": "and", "conditions": [{"field": "timestamp", "op": "gte", "value": "now-7d"}, {"field": "timestamp", "op": "lte", "value": "now"}]}
Response shape by chart type:
- line — {data: [{id, timestamp, value}], metadata: {display_name, data_type, filter_value}}
- bar — {data: [{time_interval, value, sample_count}], metadata: ...}
- pie — {data: [{label, value, percentage}], metadata: ...}
- stat — {data: {total_calls, success_rate, avg_duration, p95_latency}, metadata: ...}
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/dashboards/widgets/{id}/data/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
- or API key in header X-VOCERA-SHAREABLE-LINK-TOKEN
- or HTTP bearer
Path parameters
Query parameters
filter JSON object to override widget filters for this request. Must include a timestamp constraint. Example: {"operator": "and", "conditions": [{"field": "timestamp", "op": "gte", "value": "now-7d"}]}
IANA timezone name, e.g. America/Chicago. Day, week and month buckets and today filters use this timezone. Defaults to UTC when omitted or not recognized.
Response
Example response
{
"data": [
{
"id": 1,
"timestamp": "2025-11-03T10:30:00Z",
"value": 45
},
{
"id": 2,
"timestamp": "2025-11-03T11:15:00Z",
"value": 62
}
]
}Changes
- info
endpoint added
- info