Compute a saved analysis insight
boards:readAuthenticationEvaluates the insight's current saved definition against live workspace data.
Results are never cached, and include the generation time plus the enforced row, series and cell limits. A result that exceeds a limit returns 422 analysis_result_too_large rather than a partial 200.
Narrowing a single computation
campaign_idpins every query in the insight to that campaign's calls. The scope is applied server-side on top of the stored configuration and cannot be expressed away by editing the insight.fromandtocompute the insight over that window instead of its saved time range, leaving the saved definition unchanged. This is how a dashboard-wide date filter is applied.
The two compose.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidcampaign_id?stringRestrict the computation to calls fed by this campaign.
uuidfrom?stringStart of a window (RFC3339, inclusive) that replaces each insight's saved time range for this request. Must be sent together with to. The saved insight is not changed.
date-timeto?stringEnd of the override window (RFC3339, exclusive). Must be after from and at most 400 days later. Time-grouped results are re-bucketed for the window's length — hourly up to 2 days, daily up to 92 days, weekly beyond.
date-timeComplete computed result.
application/json- response
Complete computed result. The server returns 422 instead of truncating when rows, series, or cells exceed the limits object.
group_by*AnalysisGroupBy"none""time""agent""value"series*array<>items <= 50rows*array<>items <= 500stacked*booleangenerated_at*stringdate-timelimits*previous?|The first query's value over the window immediately preceding the selected one, measured with the identical joins, filters, and aggregate. Present only for number_delta insights, and null when the range has no comparable predecessor.
curl -X GET 'https://api.kejue.co/v1/analysis/insights/497f6eca-6276-4993-bfeb-53cbbbba6f08/data'{ "group_by": "none", "series": [ "string" ], "rows": [ { "x": "string", "values": { "property1": 0, "property2": 0 } } ], "stacked": true, "generated_at": "2019-08-24T14:15:22Z", "limits": { "rows": 500, "series": 50, "cells": 10000 }, "previous": 0}