v6

latestOpenAPI 3.1.02026-08-04135335658.3 KB
Workflow Runs

Get Workflow Run Evaluation Result

Endpoint to retrieve the evaluation result for a workflow run.

This endpoint fetches the evaluation workflow run linked to the source workflow run and extracts the last WorkflowShowStateEvent's runtime_variables as the evaluation result.

Returns: - evaluation_workflow_run_id: ID of the evaluation run - status: Current status of the evaluation run - evaluation_result: The runtime_variables from the last WorkflowShowStateEvent, or None if no such event exists (e.g., evaluation still in progress)

get/workflows/v1/workflow-runs/{workflow_run_id}/evaluation-result

Path parameters

workflow_run_idstring required
Example:5eb7cf5a86d9755df3a6c593

Response

Successful Response

evaluation_workflow_run_idstring required

ID of the evaluation workflow run

statusstring required

Status of the evaluation workflow run (e.g., 'completed', 'running', 'failed')

evaluation_resultobject nullable

The runtime variables from the last WorkflowShowStateEvent in the evaluation run. Contains the evaluation output/scores. None if no WorkflowShowStateEvent was found.