v1

latestOpenAPI 3.0.02026-07-268285163.6 KB
Evaluation Datasets

Update question in dataset

Updates an existing question-answer pair in a dataset

put/datasets/{dataset_id}/{question_id}

Path parameters

dataset_idstring required

ID of the dataset

question_idstring required

ID of the question to update

Request body

questionstring required

The question text

answerstring required

The expected answer

Example request

{
  "question": "What are your business hours?",
  "answer": "We are open Monday to Friday, 9am to 5pm"
}

Response

Question successfully updated

messagestring required

Response message

Example response

{
  "message": "Operation completed successfully"
}