Where a run stands
const url = 'https://beta-api.plune.ai/v1/projects/example/case-generations/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/projects/example/case-generations/example \ --header 'Authorization: Bearer <token>'The run’s state (queued, running, done, failed, cancelled), what went to the model, how many proposals it produced and skipped and why, its cost, and on failed the kind. A run still queued or running 30 minutes after it was asked for reads failed as stalled. Anyone in the project, as the review queue is.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An id from GET /v1/projects
The id a start answered with
Responses
Section titled “ Responses ”The run
One run (ADR 0067 point 4). It never holds the text: what went to the model is counted (fetched), masked secrets are counted (redactions), and the text itself lives only in the proposals the run wrote.
object
A run of a Jira ticket: its key, as Jira answered it.
Characters of each field sent to the model, after masking; a ticket’s run also says what each field of the ticket gave and whether it was cut.
object
The fields of a Jira ticket in the order they are cut (BH-B1 spec §5): summary (300 characters), description (8 000), criteria (4 000) and meta (300), together at most 12 000 — a field gets what its budget and the fields before it leave. chars is what went, after masking; cut says the field had more.
object
How many places were masked as a secret before anything was sent.
Proposals put in the review queue, each pending.
Proposals left out: invalid broke a bound of the proposal (the field named), over_limit came past maxCases.
object
Tokens null = the provider reported none; costUsd null beside tokens = the model’s price is unknown — never 0. Counted in the project’s monthly AI limit.
object
Where the run was sent, once it started.
Only on failed. ai_budget_spent: the project’s monthly AI limit ran out while the run waited in the queue; the provider was not called and nothing was spent.
Example
{ "id": "6f1c2b3a-0000-4000-8000-0000000000aa", "state": "queued", "inputKind": "pasted-text", "maxCases": 6, "language": "en", "fetched": { "title": 14, "text": 214 }, "redactions": 0, "produced": 0, "skipped": [], "cost": { "inputTokens": null, "outputTokens": null, "costUsd": null }, "requestedBy": "6f1c2b3a-0000-4000-8000-0000000000a2", "createdAt": "2026-10-25T09:00:00.000Z", "startedAt": null, "finishedAt": null}No / invalid token or session
No such project among yours, or no such run in it
object
Example generated
{ "error": "example"}