Return the per-row grader results for a completed run. The result is unnested to one row per grader outcome, so a row that was scored by three graders yields three rows. The service returns output items in pages; this function follows the pagination cursor, so by default every output item is returned.
Usage
foundry_eval_run_output_items(
eval_id,
run_id,
status = NULL,
order = NULL,
limit = NULL,
after = NULL,
api_key = NULL,
token = NULL,
endpoint = NULL,
api_version = NULL,
project_endpoint = NULL
)Arguments
- eval_id
Character. Evaluation ID.
- run_id
Character. Run ID.
- status
Character. Optional output-item processing status passed to the service, for example
"completed"or"failed". It reports whether the item was processed, not whether it passed; the service rejects"fail"and"pass". To find failing grades, filter the returnedpassedcolumn.- order
Character. Optional sort order,
"asc"or"desc".- limit
Integer. Optional maximum number of output items to return.
NULL(the default) returns all output items.- after
Character. Optional output item ID to start after.
- api_key
Character. Optional API key. Falls back to configured auth.
- token
Character. Optional bearer token. Falls back to configured auth.
- endpoint
Character. Optional resource endpoint. Supplying it selects the resource-scoped Evals route (
<resource>/openai/v1/evals). Supply at most one ofendpointandproject_endpoint.- api_version
Character. Optional
api-versionquery value. The Foundry v1 evals surface is path-versioned, so this is usually leftNULL.- project_endpoint
Character. Optional Microsoft Foundry project endpoint, such as
"https://<account>.services.ai.azure.com/api/projects/<project>". Supplying it selects the project-scoped Evals route (<project>/openai/v1/evals), which needs a Microsoft Entra ID token: the service answers HTTP 403 to API keys there. Without it, evaluation calls use the resource endpoint, as in foundryR 0.1.0, unlessfoundry_set_route()selected the project or the call needs a feature that exists only on a project endpoint: built-inazure_ai_evaluatorgraders, model or agent targets, or stored responses. Those calls use the endpoint set withfoundry_set_project_endpoint()and print a message. Evaluations created on the project endpoint are not visible from the resource endpoint, so passproject_endpoint(or set the route) when you look them up later.