Skip to content

Update evaluation suite

PUT/ai/studio/suites/{id}

Updates the name, description, or scoring criteria of an existing evaluation suite.

Request

Path parameters

NameTypeRequiredDescription
idintegerYes

The numeric ID of the suite to update.

Request body

Content type application/json (required).

FieldTypeRequiredDescription
namestringYes

Max length: 255

descriptionstringNo
template_idintegerNo
scoring_criteriaarray of objectNo
scoring_criteria[].metricstringYes

Name of the evaluation metric (e.g. "accuracy", "conciseness").

scoring_criteria[].weightnumber (float)Yes

Weight of this metric in the aggregate score (weights must sum to 1.0).

Example

{
  "name": "Support Ticket Summary — Accuracy Suite (v2)"
}

Responses

200 Evaluation suite updated

404 Suite not found

Example request

curl -X PUT "https://{tenant}.faciotech.net/api/v1/ai/studio/suites/{id}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "Support Ticket Summary — Accuracy Suite (v2)"}'
Loading