Get batch evaluation results
Retrieve the status and results of a batch evaluation job. Poll this operation until the job reaches a terminal state (COMPLETED, FAILED, or STOPPED).
Code samples
Example
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
|
|
String |
Yes |
The batch evaluation ID returned by |
Response
| Field | Type | Description |
|---|---|---|
|
|
String |
The batch evaluation ID. |
|
|
String |
ARN of the batch evaluation. |
|
|
String |
The job name. |
|
|
String |
Current status: |
|
|
Timestamp |
When the job was created. |
|
|
List |
The evaluators used. |
|
|
Object |
CloudWatch Logs destination for per-session detail. Contains |
|
|
Object |
Present when the job has processed sessions. See Understanding results and output. |
|
|
List of strings |
Error messages if the job failed. |
evaluationResults fields
| Field | Type | Description |
|---|---|---|
|
|
Integer |
Number of sessions successfully evaluated. |
|
|
Integer |
Number of sessions that failed evaluation. |
|
|
Integer |
Number of sessions still being evaluated. |
|
|
Integer |
Total number of sessions discovered. |
|
|
Integer |
Number of sessions ignored for evaluation. The service evaluates up to 500 sessions per job; if more are discovered, the most recent 500 are selected. |
|
|
List |
Per-evaluator aggregate results. |
evaluatorSummaries fields
| Field | Type | Description |
|---|---|---|
|
|
String |
Evaluator ID (for example, |
|
|
Double |
Average score across all evaluated sessions. |
|
|
Integer |
Number of sessions this evaluator scored. |
|
|
Integer |
Number of sessions where this evaluator failed. |
Status lifecycle
PENDING → IN_PROGRESS → COMPLETED
→ COMPLETED_WITH_ERRORS
→ FAILED
STOPPING → STOPPED
DELETING
-
PENDING — The job has been accepted and is queued for processing.
-
IN_PROGRESS — The service is discovering sessions and running evaluators.
-
COMPLETED — All sessions have been evaluated. Results are available.
-
COMPLETED_WITH_ERRORS — The job finished but some sessions encountered errors. Partial results are available.
-
FAILED — The job encountered an error. Check
errorDetailsfor details. -
STOPPING — A stop request has been received. The job is winding down.
-
STOPPED — The job was stopped before completion. Partial results may be available.
-
DELETING — The job is being deleted.
Errors
| Error | HTTP status | Description |
|---|---|---|
|
|
404 |
No batch evaluation found with the specified ID. |
|
|
400 |
Invalid batch evaluation ID format. |
|
|
403 |
Insufficient permissions. |
|
|
429 |
Request rate exceeded. |
|
|
500 |
Service-side error. |