{ "success": true, "message": "QC evaluation started. You will be notified when it's completed.", "evalId": "eval_abc123def456", "creditsUsed": 5, "isProcessing": true}
Ollang API Reference
Run QC Evaluation
Run a standalone AI-powered QC evaluation on an order to assess translation quality across multiple criteria including accuracy, fluency, tone, and cultural fit.
{ "success": true, "message": "QC evaluation started. You will be notified when it's completed.", "evalId": "eval_abc123def456", "creditsUsed": 5, "isProcessing": true}
Run a standalone QC (Quality Control) evaluation on an existing order. This endpoint triggers an AI-powered assessment of the translation quality, evaluating criteria such as accuracy, fluency, tone, and cultural fit. The evaluation runs asynchronously and you will be notified when it’s completed.
The unique identifier of the order for which you want to run the QC
evaluation. The order must be in a completed or delivered state to be eligible
for evaluation.
Optional custom prompt to guide the QC evaluation. Use this to provide
specific instructions or focus areas for the AI evaluator, such as “Please
focus on technical terminology accuracy” or “Pay attention to formal register
consistency”.
Optional HTTPS URL to receive a POST request when the QC evaluation completes.
Must be a valid HTTPS URL pointing to a publicly accessible host (private IPs
and localhost are rejected). When provided, the evaluation results are sent
to this URL as a JSON payload once processing finishes. See Callback
Payload below for the response format.
An array of evaluation scores for each criterion. Each score object contains:
name: The name of the evaluation criterion (e.g., “accuracy”, “fluency”) -
score: The numerical score value - details: Additional details about the
score
Segment-by-segment evaluation results. Each segment evaluation contains: -
segmentId: The identifier of the evaluated segment - scores: Array of
scores for this specific segment - comments: Evaluator comments about this
segment
{ "success": true, "message": "QC evaluation started. You will be notified when it's completed.", "evalId": "eval_abc123def456", "creditsUsed": 5, "isProcessing": true}
When a callbackUrl is provided, Ollang sends a POST request to the URL once the QC evaluation completes. The request has a Content-Type: application/json header and the following body:
The callback request has a 10-second timeout. If your server does not
respond within 10 seconds, the request is considered failed. Callback failures
do not affect the evaluation itself — results are still available via the Get
Order by ID endpoint.