Save a question
const url = 'https://beta-api.plune.ai/v1/questions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"title":"Smoke cases still in draft","filter":"state=draft&tag=smoke"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://beta-api.plune.ai/v1/questions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "title": "Smoke cases still in draft", "filter": "state=draft&tag=smoke" }'A question from a case filter (AC-05; «Save as question»). The filter is judged against the case filter vocabulary and stored canonical; a key it does not know is a 400. A base that names a key of the filter with other values is a 400: the link opens the filter inside its base. With a source, the filter may name the suite, the tags and the flags only. At most 100 active questions a project (409 question_limit). Owner or member; a reader gets 403.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example
{ "title": "Smoke cases still in draft", "filter": "state=draft&tag=smoke"}Responses
Section titled “ Responses ”Saved
object
A question (#1292): a canonical case-filter query string - the one of GET /v1/test-cases and of a plan - and, for the questions a health widget answers, its name.
object
The cases the question asks about: n, and the link.
The cases N counts; absent, every live case of the project.
The handler that answers it, as the Analytics card does.
A starter question key; the page words its title in the reader language by it.
null for a starter question: nobody made it.
Example
{ "id": "6f1c2b3a-0000-4000-8000-000000001292", "projectId": "u-shop::default", "title": "Smoke cases still in draft", "config": { "schemaVersion": 1, "kind": "question", "filter": "tag=smoke&state=draft" }, "position": 12, "createdBy": "u-shop", "createdAt": "2026-09-16T09:12:04.151Z", "updatedAt": "2026-09-16T09:12:04.151Z"}Invalid body or filter
object
Example generated
{ "error": "example"}No / invalid token or session
A read-only member
object
Example generated
{ "error": "example"}The project already has 100 active questions
object
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over