Skip to main content
POST
/
dashboards
/
widgets
/
bulk_data
cURL
curl --request POST \
  --url https://api.cekura.ai/dashboards/widgets/bulk_data/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "widget_ids": [
    123
  ],
  "filters": {
    "field": "<string>",
    "op": "eq",
    "value": "<unknown>",
    "operator": "and",
    "conditions": [
      "<unknown>"
    ]
  }
}
'
{
  "count": 123,
  "results": [
    {
      "widget_id": 123,
      "field_name": "<string>",
      "chart_type": "<string>",
      "data": [
        {}
      ],
      "aggregation_function": "<string>",
      "time_period": "<string>",
      "group_by": null,
      "metadata": {
        "display_name": "<string>",
        "data_type": "numeric",
        "filter_value": "<unknown>"
      },
      "can_group_by": false
    }
  ],
  "next": "https://api.cekura.ai/example/v1/example-external/?page=4",
  "previous": "https://api.cekura.ai/example/v1/example-external/?page=3"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cekura.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Query Parameters

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Body

widget_ids
integer[]
required

List of widget IDs to get data for

filters
object

Optional override filters for all widgets. Filter conditions to scope the data. See the Dashboards guide for supported fields, operators, and syntax.

Examples:
{
"field": "success",
"op": "eq",
"value": true
}
{
"operator": "and",
"conditions": [
{
"field": "timestamp",
"op": "gte",
"value": "today-7d"
},
{
"field": "duration",
"op": "gte",
"value": 60
}
]
}

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=4"

previous
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=3"