The mission’s completion report as it stands now
const url = 'https://beta-api.plune.ai/v1/missions/example/report/draft';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/draft \ --header 'Authorization: Bearer <token>'What POST /v1/missions/{id}/report would queue now, built on this call and stored nowhere. 409 strategy_required without an accepted strategy. Anyone in the project.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The mission’s id
Responses
Section titled “ Responses ”The report
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
Example
{ "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" } ]}No / invalid token or session
No such mission in your project
object
Example generated
{ "error": "example"}The mission has no accepted strategy
object
Example
{ "error": "the mission has no accepted strategy - a report says what was covered of it", "code": "strategy_required"}