Create a dashboard
Changed onCreates a dashboard with its widgets. Each widget is an analytics query (see POST /v1/analytics/query) with a name unique on the dashboard, a display (LINE, NUMBER, RADAR, STACKED_BAR, TABLE) and a size (SMALL, MEDIUM, LARGE, EXTRA_LARGE). Widgets render top to bottom in the order given.
Dashboard filters apply over every widget and must be conversation-level: AGENT_PROPERTY, CALL_PROPERTY, MODALITY, DATASET or METRIC_VALUE. On a field a widget already filters, the dashboard's wins.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/dashboard
- AuthHTTP bearer
Request body
Example request
{
"name": "Support agent health",
"timeRange": {
"type": "LAST",
"value": 30,
"unit": "DAYS"
},
"filters": [
{
"type": "MODALITY",
"value": "call"
}
],
"widgets": [
{
"name": "Sentiment",
"display": "LINE",
"size": "LARGE",
"interval": "DAY",
"measures": [
{
"metric": "sentiment_score",
"aggregation": "AVG"
}
]
},
{
"name": "Calls",
"display": "NUMBER",
"measures": [
{
"type": "CONVERSATION"
}
]
}
]
}Response
The created dashboard
Changes
- breaking
the response property
///became optional for the status - breaking
the response property
///////became optional for the status - breaking
the response property
/////became optional for the status - breaking
the response property
///////became optional for the status - warning
added the new
IS_NOT_SETenum value to the///response property for the response status - warning
added the new
IS_NOT_SETenum value to the///////response property for the response status - warning
added the new
IS_NOT_SETenum value to the/////response property for the response status - warning
added the new
IS_NOT_SETenum value to the///////response property for the response status - warning
added the new
IS_NOT_SETenum value to the/////response property for the response status - warning
added the new
IS_SETenum value to the///response property for the response status - warning
added the new
IS_SETenum value to the///////response property for the response status - warning
added the new
IS_SETenum value to the/////response property for the response status - warning
added the new
IS_SETenum value to the///////response property for the response status - warning
added the new
IS_SETenum value to the/////response property for the response status - info
the request property
//became optional - info
the request property
//////became optional - info
the request property
////became optional - info
the request property
//////became optional - info
added the new
IS_NOT_SETenum value to the request property// - info
added the new
IS_NOT_SETenum value to the request property////// - info
added the new
IS_NOT_SETenum value to the request property//// - info
added the new
IS_NOT_SETenum value to the request property////// - info
added the new
IS_NOT_SETenum value to the request property//// - info
added the new
IS_SETenum value to the request property// - info
added the new
IS_SETenum value to the request property////// - info
added the new
IS_SETenum value to the request property//// - info
added the new
IS_SETenum value to the request property////// - info
added the new
IS_SETenum value to the request property////
- breaking
- info
endpoint added
- info