EvaluationResultsClient
adaline.prompts.evaluations.results returns per-row evaluation results as they become available, with optional grade and score filters. Because rows appear incrementally while an evaluation runs, you can poll this client to surface partial progress.
For long-running evaluations, prefer adaline.initEvaluationResults() — it wraps this client in a self-refreshing cache.
Access
@adaline/api:
list()
Fetch a page of evaluation results. Rows are returned as they become available, so you can poll this while an evaluation is still running to surface partial progress.Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | EvaluationResultsQuery | Yes | Identifiers + filters + pagination. |
EvaluationResultsQuery fields:
| Name | Type | Description |
|---|---|---|
promptId | string | Prompt the evaluation belongs to. |
evaluationId | string | Evaluation to inspect. |
grade | 'pass' | 'fail' | 'unknown' | Optional filter by grade. |
expand | 'row' | Include the underlying dataset row inline. |
sort | 'createdAt:asc' | 'createdAt:desc' | 'score:asc' | 'score:desc' | Sort order. |
limit | number | Page size. |
cursor | string | Cursor from a previous response. |
Returns
Promise<ListEvaluationResultsResponse> with { data: EvaluationResult[]; pagination: Pagination }. Each EvaluationResult has the evaluator’s grade, score, metadata, and — if expand: 'row' was requested — the originating row.
Example
adaline.initEvaluationResults().
See Also
- PromptEvaluationsClient — parent client
- EvaluationResultsQuery
- Adaline class —
initEvaluationResults()polling helper - API reference: Get evaluation results