Create Insight
POST/v1/insights
Publish a card: a title, one alert line, a summary, up to
four charts (each a title and an ECharts option of at most
32 KB with at least one typed series) and datasetIds, every dataset
the card was computed from.
You do not choose who sees it. A member is shown the card only while they
can read every dataset named here and every dataset this credential read
before posting; when one of them is filtered by row rules, only members
who read the same rows as you. Naming a dataset you cannot read answers
source_not_found.
severity is info (default), warning or critical. The card
expires after expiresInDays (1 to 30, default 7). An account holds at
most 30 live cards and takes 5 new ones per 24 hours; past that the answer
is 429 insight_cap. narrowed in the answer says when the card is
shown to you alone, and why.
Request
Responses
- 201
- 404
- 422
Successful Response
Not found
Validation Error