Authorizations
Body
application/json
curl --request POST \
--url https://core.ravenna.ai/api/analytics/execute-trend \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"filters": {
"dateRange": {
"from": "<string>",
"to": "<string>"
},
"period": "hour",
"timeInterval": "day"
},
"query": "<any>",
"ravFilters": [
{
"field": "<string>",
"condition": "<string>",
"value": "<string>",
"given": "<string>"
}
]
}'
{
"data": [
{
"timestamp": "<string>"
}
],
"chartConfig": {}
}
curl --request POST \
--url https://core.ravenna.ai/api/analytics/execute-trend \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"filters": {
"dateRange": {
"from": "<string>",
"to": "<string>"
},
"period": "hour",
"timeInterval": "day"
},
"query": "<any>",
"ravFilters": [
{
"field": "<string>",
"condition": "<string>",
"value": "<string>",
"given": "<string>"
}
]
}'
{
"data": [
{
"timestamp": "<string>"
}
],
"chartConfig": {}
}
Was this page helpful?