Universes CES Overview
Get Aggregated CES Data for a whole universe
Request
This API route is experimental.
Route name, parameters and responses might change.
Parameters
universe_id*uuidUnique identifier of the universe.
Example: "75ebc096-749e-4b8f-b690-df13daf49c62"sizeintegerNumber of records per page
Default: 10Range: [1, 1000]pageintegerPage number, 1-based
Minimum: 1datedate (operator)Extraction date
Example: "between:2022-01-01;2022-01-02"order(field:direction (enum))[]Order to apply to the result.
Possible fields are:
date,min,max,avg_first,avg_last,avg.Possible directions are:
ascanddesc.You can specify multiples values.
Default: [date:asc]Example: "date:asc"function(string (enum))[]Aggregations to compute. Several can be requested at once, each one is returned under
Default: ["avg"]ces_score.periodstring (enum)Period to apply the functions to.
Example: with
Default: "all"Values: "all", "day", "week", "month", "quarter", "year"period=quarterandfunction=avg_first, the result will contain the average CES of the universe on the first day of each quarter.
Response
Aggregated CES Scores
data*object[]Paginated Universe CES Aggregation list.
size*integerNumber of records per page requested.
Minimum: 1has_next*booleanTrue if there are more records available.
Example: truecount*integerNumber of records returned in the current page.
Minimum: 0
{
"data": [
{
"period_start_date": "2025-05-06",
"period_end_date": "2025-05-13",
"ces_score": {
"min": 89,
"max": 89,
"avg_first": 89,
"avg_last": 89,
"avg": 89
}
}
],
"size": 1,
"has_next": true,
"count": 1
}Error
Bad request
message*stringError message.
Example: "Check the errors field for more details"code*number (enum)Error code.
Values: 400reason*string (enum)Error reason.
Values: "invalid"errorsobject[]Possible error causes.
{
"message": "Check the errors field for more details",
"code": 400,
"reason": "invalid",
"errors": [
{
"message": "string",
"field": "size",
"reason": "invalid_type"
}
]
}Not found
message*stringError message.
Example: "The requested universe does not exist or is not visible to your company."code*number (enum)Error code.
Values: 404reason*string (enum)Error reason.
Values: "not_found"
{
"message": "The requested universe does not exist or is not visible to your company.",
"code": 404,
"reason": "not_found"
}Generic errors are not shown, see Errors for more details.