Authorizations
Body
application/json
curl --request POST \
--url https://core.ravenna.ai/api/analytics/execute-single \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"widgetId": "<string>",
"workspaceId": "<string>",
"filters": {
"period": "hour",
"dateRange": {
"from": "<string>",
"to": "<string>"
}
},
"ravFilters": [
{
"field": "<string>",
"condition": "<string>",
"value": "<string>",
"given": "<string>"
}
],
"widget": {
"query": "<any>",
"type": "TREND"
}
}'
{
"value": 123,
"previousValue": 123,
"change": 123,
"changePercentage": 123
}
curl --request POST \
--url https://core.ravenna.ai/api/analytics/execute-single \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"widgetId": "<string>",
"workspaceId": "<string>",
"filters": {
"period": "hour",
"dateRange": {
"from": "<string>",
"to": "<string>"
}
},
"ravFilters": [
{
"field": "<string>",
"condition": "<string>",
"value": "<string>",
"given": "<string>"
}
],
"widget": {
"query": "<any>",
"type": "TREND"
}
}'
{
"value": 123,
"previousValue": 123,
"change": 123,
"changePercentage": 123
}
Was this page helpful?