For the complete documentation index, see llms.txt. This page is also available as Markdown.

evals_experiments_run

Generate outputs or score existing outputs with explicit evaluator IDs.

Effect: This call executes a workflow or evaluator. Review its effects and possible usage charges before calling it.

Inputs

Name
Type
Requirement
Description

experiment_id

string

Required

Experiment ID returned by experiment discovery or creation.

mode

generate or score

Optional

generate (default) produces outputs and optionally scores them. score reuses existing outputs and requires at least one evaluator ID.

evaluator_ids

array of strings

Optional

Evaluator IDs. Supply them explicitly for each run; creation-time choices are not reused automatically.

Example

These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.

{
  "experiment_id": "<experiment-id>",
  "mode": "generate",
  "evaluator_ids": [
    "<evaluator-id>"
  ]
}

Result

Abbreviated result example; unshown fields are omitted for clarity.

Behavior

Creation-time evaluators are never implicitly reused.

Returns accepted, job_id, status_url and a next_action to poll that exact job.

May execute workflow side effects or paid judges; do not retry blindly.

Troubleshooting

Keep the accepted job_id and poll that job. A timeout or status-read failure is not a reason to start another job. In score mode, provide evaluators and ensure generated outputs already exist.

Evaluations and monitoring

Connection, permissions, pagination, and recovery

Was this helpful?