Sample - OpenAI API
POST/fine_tuning/alpha/graders/validate

Validate a grader

Validates a grader definition before you use it for evaluation. Supply a supported grader configuration, and the response returns the validated grader definition.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 body field

A grader definition to validate.

graderobjectrequired
The grader used for the fine-tuning job.

1 status code
200Returns the validated grader definition.
graderobjectoptional
The grader used for the fine-tuning job.

Error handling

grader is required and must match one of the supported grader variants. A string-check grader requires type, name, input, reference, and operation; a text-similarity grader requires evaluation_metric; and a Python grader requires source.