Skip to content

Every version of the project’s test plan

GET
/v1/projects/{id}/test-plan/versions
curl --request GET \
--url https://beta-api.plune.ai/v1/projects/example/test-plan/versions \
--header 'Authorization: Bearer <token>'

Newest first, without the plans: who saved each and when, and which version a restore copied. Empty before the first save.

id
required
string

The project’s id

The versions

Media type application/json
object
versions
required

Newest first

Array<object>
object
projectId
required
string
version
required

Counts from 1 per project; the highest is the current plan

integer
>= 1
savedBy
required

The person who saved it, or the person whose token did

string
savedAt
required
string format: date-time
restoredFrom
required

The earlier version a restore copied; null for a save

integer
nullable >= 1
reviewItemId
required

The queue entry it was accepted from (#2741); null for a person’s own save, or once the entry is gone. savedBy is then who accepted it

string
nullable
proposedBy
required

Who put it in the queue: the person, or the person whose token the agent used

string
nullable
editedBy
required

The person who corrected the agent’s plan before accepting it

string
nullable
Example
{
"versions": [
{
"projectId": "u-shop::default",
"version": 2,
"savedBy": "6f1c2b3a-0000-4000-8000-0000000000a2",
"savedAt": "2026-11-14T10:00:00.000Z",
"restoredFrom": null,
"reviewItemId": null,
"proposedBy": null,
"editedBy": null
},
{
"projectId": "u-shop::default",
"version": 1,
"savedBy": "6f1c2b3a-0000-4000-8000-0000000000a2",
"savedAt": "2026-11-13T09:00:00.000Z",
"restoredFrom": null,
"reviewItemId": null,
"proposedBy": null,
"editedBy": null
}
]
}

No / invalid token or session

No such project, or you are not in it

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}