curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": { "name": "Nightly Smoke v2" }
}'
curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": {
"test_items": [
{ "multiplayer_test_id": "a5060a07-d386-4269-98ce-b33fb894201e", "retries": 2 }
]
}
}'
{
"id": "b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c",
"project_id": "test",
"name": "Nightly Smoke v2",
"test_items": [ { "...": "..." } ],
"...": "..."
}
Update Test Plan
Apply a partial update to a test plan.
curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": { "name": "Nightly Smoke v2" }
}'
curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": {
"test_items": [
{ "multiplayer_test_id": "a5060a07-d386-4269-98ce-b33fb894201e", "retries": 2 }
]
}
}'
{
"id": "b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c",
"project_id": "test",
"name": "Nightly Smoke v2",
"test_items": [ { "...": "..." } ],
"...": "..."
}
project:edit-testspatch is deep-merged into the
current test plan. Arrays — including test_items — are replaced wholesale.
Path Parameters
Request Body
id.Response
Returns the updated test plan (same shape as Get Test Plan).curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": { "name": "Nightly Smoke v2" }
}'
curl -X PATCH "https://nunu.ai/api/v1/project/your-project-id/test-plans/b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" \
-H "X-Api-Key: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patch": {
"test_items": [
{ "multiplayer_test_id": "a5060a07-d386-4269-98ce-b33fb894201e", "retries": 2 }
]
}
}'
{
"id": "b3f1a2c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c",
"project_id": "test",
"name": "Nightly Smoke v2",
"test_items": [ { "...": "..." } ],
"...": "..."
}
Authorizations
API key for authentication
Path Parameters
Test plan ID (UUID)
The project ID. You can copy it from the project settings page or the project URL in the dashboard.
Body
Partial test plan body. Object fields are deep-merged; arrays (including test_items) are replaced wholesale.
Response
Test plan updated
Unique identifier for the test plan
Project the test plan belongs to
Test plan name
Extra deployment slots of a cross-platform test plan (read-only via the API; managed in the test plan editor). Their indices key slot_deployment_configs when starting the plan; slot 1 is the implicit default slot.
Show child attributes
Show child attributes
Optional display name of the implicit default slot (slot 1). Read-only via the API.
Ordered list of tests in this plan
Show child attributes
Show child attributes