One widget
const url = 'https://beta-api.plune.ai/v1/widgets/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/widgets/example \ --header 'Authorization: Bearer <token>'By id, from the caller’s project only — another project’s widget reads as 404, never as 403.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The widget
object
The whole recipe of a widget; the server judges it on every write and every draft. Entities: case, run_result, run, requirement (a defect is not one yet). Properties come from a closed catalogue: a case has type, state, priority, suite, is_flaky, is_muted, tag; a result status, sub_status, source, muted, case_priority, environment, label; a run kind, environment, status_event, label; a requirement type, status, priority, category. A donut takes one block. A segment is cut across all blocks and only by a property they all have (label for runs and results; any groupable property for a single entity). Limits: 5 blocks, 10 segment values, 10 filters a block, 16 KiB.
object
Line only: the population at each moment. For run_result and run (they only arrive); a case, a requirement and a defect wait.
object
A duration only for run_result and run.
object
A groupable property of the entity. More than 20 groups: the rest is folded into «Other» with a true sum.
object
The order on the dashboard.
Example
{ "id": "6f1c2b3a-0000-4000-8000-0000000000b4", "projectId": "u-shop::default", "title": "Automated runs and failures", "config": { "schemaVersion": 1, "render": "line", "bucket": "day", "accumulated": false, "blocks": [ { "entity": "run", "metric": "count", "filters": [ { "property": "kind", "values": [ "automated" ] } ] }, { "entity": "run_result", "metric": "count", "filters": [ { "property": "status", "values": [ "failed", "broken" ] } ] } ], "segment": { "by": "label", "values": [ "nightly" ] } }, "position": 0, "createdBy": "u-shop", "createdAt": "2026-09-16T09:12:04.151Z", "updatedAt": "2026-09-16T09:12:04.151Z"}No / invalid token or session
No such widget in the project
object
Example generated
{ "error": "example"}