The mission’s approved completion report
const url = 'https://beta-api.plune.ai/v1/missions/example/report';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/missions/example/report \ --header 'Authorization: Bearer <token>'The latest report a person approved, as it was built, with its text. 404 until one is approved. Anyone in the project, a reader too — the client of an agency reads it.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The mission’s id
Responses
Section titled “ Responses ”The report
object
A mission’s completion report (#2193), built by the server from the mission’s data: the accepted strategy, the latest result of each case its risks link (directly and through their requirements’ matrix) since the mission began, the bugs on those cases opened since then, the mission’s questions. It never says there are no bugs: it says how many risks were covered and how many defects were found. Lists hold at most 200 items; totals count all.
object
When the mission began: results and bugs count from here
object
Risks with a case executed since the mission began
object
In the strategy’s risks
object
The latest result since the mission began; null: not run since
object
object
object
The latest result since the mission began; null: not run since
Not reported: Cairn does not send them to the platform yet
object
Not reported: Cairn does not send them to the platform yet
object
object
What the strategy deliberately left out, and why
object
object
object
object
Answered plain questions of the mission - candidates for the project’s memory (E7)
object
The report as text: it starts with «Covered X of N risks; found Y defects and Z failed cases.»
Example
{ "missionId": "6f1c2b3a-0000-4000-8000-000000002188", "version": 1, "reviewItemId": "6f1c2b3a-0000-4000-8000-0000000000b1", "proposedBy": "6f1c2b3a-0000-4000-8000-0000000000a2", "approvedBy": "6f1c2b3a-0000-4000-8000-0000000000a2", "approvedAt": "2026-11-06T10:00:00.000Z", "content": { "missionId": "6f1c2b3a-0000-4000-8000-000000002188", "strategyVersion": 1, "since": "2026-11-04T09:00:00.000Z", "generatedAt": "2026-11-06T09:00:00.000Z", "totals": { "risks": 2, "covered": 1, "passed": 0, "failed": 1, "notRun": 1, "noCases": 0, "defects": 1, "failures": 1 }, "risks": [ { "index": 0, "text": "A card is charged twice when the payment page is reloaded", "level": 6, "priority": "high", "coverage": "failed", "cases": [ { "testCaseId": "6f1c2b3a-0000-4000-8000-0000000000c1", "title": "Pay by card", "status": "failed", "runId": "6f1c2b3a-0000-4000-8000-0000000000d1", "at": "2026-11-05T10:00:00.000Z" } ] }, { "index": 1, "text": "A voucher past its date is taken", "level": 2, "priority": "low", "coverage": "not-run", "cases": [ { "testCaseId": "6f1c2b3a-0000-4000-8000-0000000000c1", "title": "Pay with a voucher", "status": null, "runId": null, "at": null } ] } ], "found": { "defects": [ { "bugId": "6f1c2b3a-0000-4000-8000-0000000000f6", "number": 1, "title": "A card is charged twice", "state": "open" } ], "failures": [ { "testCaseId": "6f1c2b3a-0000-4000-8000-0000000000c1", "title": "Pay by card", "status": "failed", "runId": "6f1c2b3a-0000-4000-8000-0000000000d1", "at": "2026-11-05T10:00:00.000Z" } ], "deadClicks": { "reported": false, "reason": "Cairn does not send them to the platform yet (plune-ai/cairn#232)" }, "ambiguousElements": { "reported": false, "reason": "Cairn does not send them to the platform yet (plune-ai/cairn#232)" } }, "notTested": { "outOfScope": [ { "text": "The warehouse back office: another team owns it and tests it" } ], "uncovered": [ { "index": 1, "text": "A voucher past its date is taken", "why": "not-run" } ] }, "openQuestions": [ { "questionId": "6f1c2b3a-0000-4000-8000-000000002190", "text": "Does a refunded voucher count as used?" } ], "waiting": [ { "path": "exitCriteria[0]", "questionId": "6f1c2b3a-0000-4000-8000-000000002190" } ], "lessons": [ { "questionId": "6f1c2b3a-0000-4000-8000-000000002190", "question": "Which flow is the checkout?", "answer": "Three steps" } ] }, "markdown": "# Test completion report\n\nCovered 1 of 2 risks; found 1 defect and 1 failed case.\n\nTesting shows the presence of defects, not their absence: what was found is what the covered risks turned up, and a risk that was not covered says nothing either way.\n\nStrategy version 1; results since 2026-11-04T09:00:00.000Z.\n\n## Risks\n\nPassed 0, failed 1, not run 1, without a case 0.\n\n- **high** (6) A card is charged twice when the payment page is reloaded — failed: Pay by card (failed)\n- **low** (2) A voucher past its date is taken — not-run: Pay with a voucher (not run)\n\n## Found\n\n- Bug #1: A card is charged twice (open)\n- Failed: Pay by card (failed)\nDead clicks: not reported — Cairn does not send them to the platform yet (plune-ai/cairn#232)\nAmbiguous elements: not reported — Cairn does not send them to the platform yet (plune-ai/cairn#232)\n\n## Not tested\n\n- Out of scope: The warehouse back office: another team owns it and tests it\n- Risk not covered (not-run): A voucher past its date is taken\n\n## Open questions\n\n- Does a refunded voucher count as used?\n- Waiting: exitCriteria[0]\n\n## Lessons\n\n- Which flow is the checkout? — Three steps\n"}No / invalid token or session
No such mission in your project, or no report approved for it yet
object
Example generated
{ "error": "example"}