Run an evaluation
run_evaluationRun an evaluation set against a version of its resource and score the results against the ground truth (evaluations group). Async: returns immediately with a bpr_... run ID — poll it with get_evaluation_run (NOT a get-batch tool, even though the ID looks like a batch). Defaults to the set's resource at its latest published version; pass entity to pin { id, version: "1.2" | "latest" | "draft" }. Follow any llmContext guidance included in results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | Which resource + version to evaluate. | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. | |
| evaluationSetId | Yes | Evaluation set ID (ev_...). | |
| evaluationSetItemIds | No | Run only these items (evi_...) instead of the whole set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| llmContext | No | ||
| evaluationSetId | No |