Replace a suite
SDK platic.evals.suites.update()
Add or remove scenarios, change the agent or archive a suite. Always send name, the complete members list and archived. You can also change description and agentId; omitted values are preserved. Previous runs do not change.
Example
curl -X PUT "https://api.platic.ai/v1/evals/suites/$SUITE_ID" \
-H "Authorization: Bearer $PLATIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Smoke",
"members": [{ "scenarioId": "greets" }],
"archived": false
}' await platic.evals.suites.update("suite_123", { name: "Smoke", members: [{ scenarioId: "greets" }], archived: false }); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
suiteId | string | The suite you replace | ✓ |
Request body
{
"name": "Sales evals",
"members": [
{ "scenarioId": "books_tuesday_appointment", "version": null, "nTrials": null }
],
"archived": false
} | Field | Type | Description | Required |
|---|---|---|---|
name | string | 1 to 100 characters. | ✓ |
members | array | 1 to 50 scenarios: the complete list, with the shape from Create a suite. | ✓ |
archived | boolean | true archives the suite. | ✓ |
description | string | Up to 1000 characters. If you do not send it, the current one is kept. Empty ("") removes it. | — |
agentId | string | null | If you do not send it, it is kept. null leaves the suite as the workspace's. Another ID moves it to that agent. | — |
Response
200 with the suite:
{
"status": "success",
"data": {
"suiteId": "s8Kd2LmQ",
"name": "Sales evals",
"description": "",
"agentId": "Xq8mTe2LwP4kZ1aB9cDf",
"members": [
{ "scenarioId": "books_tuesday_appointment", "version": null, "nTrials": null }
],
"archived": false,
"createdAt": "2026-10-30T16:02:11.000Z",
"updatedAt": "2026-11-01T10:12:45.000Z"
}
} Response fields
The same as in List suites.
Errors
| Status | details.code | When |
|---|---|---|
400 | INVALID_REQUEST | The body is not valid. details.issues has the path of each problem. |
404 | EVAL_NOT_FOUND | The suite does not exist in your workspace. |
409 | CONFLICT | Someone else changed this at the same time. Try again. |
Notes
- To remove a scenario from an agent's evals, replace the suite without it: the scenario stays in the workspace.
- To archive the suite, send
archived: true: it can no longer be chosen to run on publish and its runs are kept. - A suite always has at least one scenario; to leave an agent without evals, archive it.
- If the suite has
agentId, you need permission to edit that agent; to move it to another, permission to edit both. If it has none, permission to edit agents.