Update Evaluation Group
Replace an evaluation group’s attributes and, optionally, its membership.
This is a full replacement of the group’s attributes: every attribute field (name, description, tags, metadata) is written from the request, so omitting an optional field clears it rather than leaving it unchanged. Use PATCH instead to update only selected fields and to merge (rather than overwrite) metadata. Membership is replaced only when evaluation_ids is supplied: the resulting members become exactly that set (added/removed by diff against the current members), it must contain at least one ID with no duplicates, and every ID is validated for existence and account access or the request fails with a 400. When membership actually changes, a best-effort Temporal workflow is started to recompute the group’s dashboard widgets; this is fire-and-forget and its failure does not fail the request. Removing members hard-deletes the corresponding chart columns and any charts left with no columns.
Update Evaluation Group
curl https://api.egp.scale.com/v5/evaluation-groups/$GROUP_ID \
-X PUT \
-H 'Content-Type: application/json' \
-H "x-api-key: $SGP_API_KEY" \
-d '{}'{
"id": "id",
"account_id": "account_id",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"tags": [
"string"
],
"deleted_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"members": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"evaluation_group_id": "evaluation_group_id",
"evaluation_id": "evaluation_id",
"deleted_at": "2019-12-27T18:11:19.117Z",
"evaluation_created_at": "2019-12-27T18:11:19.117Z",
"evaluation_name": "evaluation_name",
"evaluation_tags": [
"string"
],
"object": "evaluation_group.member"
}
],
"metadata": {
"foo": "bar"
},
"object": "evaluation_group",
"row_identifiers": [
{
"column_name": "column_name",
"evaluation_id": "evaluation_id",
"object": "evaluation_group.row_identifier"
}
]
}Returns Examples
{
"id": "id",
"account_id": "account_id",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"tags": [
"string"
],
"deleted_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"members": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"evaluation_group_id": "evaluation_group_id",
"evaluation_id": "evaluation_id",
"deleted_at": "2019-12-27T18:11:19.117Z",
"evaluation_created_at": "2019-12-27T18:11:19.117Z",
"evaluation_name": "evaluation_name",
"evaluation_tags": [
"string"
],
"object": "evaluation_group.member"
}
],
"metadata": {
"foo": "bar"
},
"object": "evaluation_group",
"row_identifiers": [
{
"column_name": "column_name",
"evaluation_id": "evaluation_id",
"object": "evaluation_group.row_identifier"
}
]
}