Patch Evaluation Group
PATCH/v5/evaluation-groups/{group_id}
Partially update an evaluation group’s attributes.
Only the fields present in the request are changed; unset fields are left untouched. Unlike the PUT endpoint, metadata is merged into the existing metadata key-by-key rather than replaced wholesale, and group membership (evaluation_ids) cannot be changed here — use PUT to replace members. At least one field must be supplied or the request fails with a 400. Supplying row_identifiers replaces the group’s entire row identifier set (an evaluation_id-to-column-name mapping for cross-dataset joins); passing an empty mapping clears it.
Body ParametersJSON
Patch Evaluation Group
curl https://api.egp.scale.com/v5/evaluation-groups/$GROUP_ID \
-X PATCH \
-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"
}
]
}