UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip maestro flow eval

Syntax and options for `uip maestro flow eval`, which manages evaluators, evaluation sets, and data points locally and runs them in Studio Web.

uip maestro flow eval manages a Flow project's evaluation assets — evaluators (scoring logic), evaluation sets (named groups of test cases), and data points (individual test cases within a set) — and runs them remotely in Studio Web. All of this edits local JSON files in the Flow project except eval runs, which talks to Studio Web.

Concepts​

  • Evaluator — scoring logic (exact match, JSON similarity, contains, or an LLM judge) applied to a data point's actual output.
  • Evaluation set — a named collection of data points plus the evaluators that score them. Can be scoped to the whole flow or to one agent node (--entry-point with an agent node id).
  • Data point — one test case in a set: inputs, optional expected output, optional per-evaluator criteria.
  • Simulation — a mocked or LLM-simulated response for one component (a node, or a child tool on an agent node), attached to a specific data point — lets you test a flow without calling the real dependency.
  • Every local subcommand (evaluators, sets, the bare data-point verbs, simulations) takes --path <path> — a Flow project directory, or a solution directory with exactly one Flow project. Defaults to ..

Synopsis​

uip maestro flow eval evaluators create <name> --type <type> [--description <text>] [--target-key <key>] [--model <model>] [--prompt <text>] [--path <path>]
uip maestro flow eval evaluators list   [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval evaluators delete <id> [--path <path>]

uip maestro flow eval sets create <name> [--evaluators <refs>] [--entry-point <id>] [--path <path>]
uip maestro flow eval sets list   [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval sets delete <id> [--path <path>]

uip maestro flow eval create <name> --set <name> [--inputs <json>] [--input-file <key=path>]... [--expected <json>] [--criteria <json>] [--search-text <text>] [--path <path>]
uip maestro flow eval list   --set <name> [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval delete <id> --set <name> [--path <path>]

uip maestro flow eval simulations create <component-id> --set <name> --data-point <id> --strategy <Static|Llm> [options...] [--path <path>]
uip maestro flow eval simulations list   --set <name> --data-point <id> [--parent <component-id>] [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval simulations delete <component-id> --set <name> --data-point <id> [--parent <component-id>] [--path <path>]

uip maestro flow eval runs start    --set <name> [--solution-id <id> | --project-id <id>] [--entry-point <entry>] [--folder-key <key>] [--debug-mode <mode>] [--wait [--timeout <seconds>]]
uip maestro flow eval runs status   <evalSetRunId> --set <name> [--solution-id <id> | --project-id <id>]
uip maestro flow eval runs results  <evalSetRunId> --set <name> [--solution-id <id> | --project-id <id>] [--only-failed] [--verbose] [--export-format <json|csv>]
uip maestro flow eval runs list     --set <name> [--solution-id <id> | --project-id <id>] [--limit <n>] [--offset <n>]
uip maestro flow eval runs compare  <evalSetRunId> --compare-to <id> --set <name> [--solution-id <id> | --project-id <id>]
uip maestro flow eval evaluators create <name> --type <type> [--description <text>] [--target-key <key>] [--model <model>] [--prompt <text>] [--path <path>]
uip maestro flow eval evaluators list   [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval evaluators delete <id> [--path <path>]

uip maestro flow eval sets create <name> [--evaluators <refs>] [--entry-point <id>] [--path <path>]
uip maestro flow eval sets list   [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval sets delete <id> [--path <path>]

uip maestro flow eval create <name> --set <name> [--inputs <json>] [--input-file <key=path>]... [--expected <json>] [--criteria <json>] [--search-text <text>] [--path <path>]
uip maestro flow eval list   --set <name> [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval delete <id> --set <name> [--path <path>]

uip maestro flow eval simulations create <component-id> --set <name> --data-point <id> --strategy <Static|Llm> [options...] [--path <path>]
uip maestro flow eval simulations list   --set <name> --data-point <id> [--parent <component-id>] [--path <path>] [--limit <n>] [--offset <n>]
uip maestro flow eval simulations delete <component-id> --set <name> --data-point <id> [--parent <component-id>] [--path <path>]

uip maestro flow eval runs start    --set <name> [--solution-id <id> | --project-id <id>] [--entry-point <entry>] [--folder-key <key>] [--debug-mode <mode>] [--wait [--timeout <seconds>]]
uip maestro flow eval runs status   <evalSetRunId> --set <name> [--solution-id <id> | --project-id <id>]
uip maestro flow eval runs results  <evalSetRunId> --set <name> [--solution-id <id> | --project-id <id>] [--only-failed] [--verbose] [--export-format <json|csv>]
uip maestro flow eval runs list     --set <name> [--solution-id <id> | --project-id <id>] [--limit <n>] [--offset <n>]
uip maestro flow eval runs compare  <evalSetRunId> --compare-to <id> --set <name> [--solution-id <id> | --project-id <id>]

Data points are managed with the bare eval create, eval list, and eval delete commands. There is no eval evaluation or eval data-point group.

The singular group names evaluator, set, simulation, and run are aliases of evaluators, sets, simulations, and runs. add is an alias of create, and remove is an alias of delete.

Honors global options. Exit codes follow the standard contract. eval runs subcommands require uip login.

Every list command on this page takes -l, --limit <number> (rows to return, 1–10000) and --offset <number> (rows to skip, 0–1000000, default 0). Without either one, every row comes back. With either one, the response carries a Pagination object with:

  • Returned
  • Limit
  • Offset
  • Total
  • HasMore

uip maestro flow eval evaluators​

Manage evaluators — the scoring logic applied to data points.

uip maestro flow eval evaluators create​

OptionRequiredDescription
<name> (argument)yesEvaluator name.
--type <type>yesOne of: exact-match, json-similarity, contains, llm-judge-output, llm-judge-strict-json, llm-judge-trajectory, llm-judge-trajectory-simulation.
--description <text>noEvaluator description.
--target-key <key>noTarget output key to score. Default * (whole output).
--model <model>noLLM model — only meaningful for llm-judge-* types.
--prompt <text>noCustom LLM judge prompt — only meaningful for llm-judge-* types.
--path <path>noFlow project directory. Default ..

Data shape: Code: "FlowEvalEvaluatorAdd", Data: { Name, Id, Type, File }.

uip maestro flow eval evaluators list​

Data shape: Code: "FlowEvalEvaluatorList", Data is an array of { Name, Id, Type, TargetKey, File }.

uip maestro flow eval evaluators delete​

Argument: <id> — evaluator ID, name, or file base name. Data shape: Code: "FlowEvalEvaluatorRemove".

uip maestro flow eval sets​

Manage evaluation sets.

uip maestro flow eval sets create​

OptionRequiredDescription
<name> (argument)yesEvaluation set name.
--evaluators <refs>noComma-separated evaluator IDs or file base names. Default: all evaluators in the project.
--entry-point <id>noNode ID from the .flow file, stored as the set's selectedEntrypoint. Pass a trigger node ID to evaluate the whole flow from that trigger. Pass an agent node ID to create a node-scoped set that evaluates that agent node in isolation. Default: the flow's trigger.
--path <path>noFlow project directory.

Data shape: Code: "FlowEvalSetAdd", Data: { Name, Id, Evaluators, File, Scope, TargetNode? } — TargetNode is present only for a node-scoped set.

uip maestro flow eval sets list​

Data shape: Code: "FlowEvalSetList", Data is an array of { Name, Id, DataPoints, Evaluators, File, Scope, TargetNode? }.

uip maestro flow eval sets delete​

Argument: <id> — set ID, name, or file base name. Data shape: Code: "FlowEvalSetRemove".

uip maestro flow eval (data points)​

Manage individual test cases within an evaluation set. Registered directly on eval, not under a data-point or evaluation sub-group.

uip maestro flow eval create​

OptionRequiredDescription
<name> (argument)yesData point name.
--set <name>yesEvaluation set name or ID.
--inputs <json>noInput values as a JSON object. Default: {}.
--input-file <key=path>noAttach a file as input <key>. Repeatable. A key can't appear in both --inputs and --input-file. Not supported for node-scoped sets.
--expected <json>noExpected output as a JSON object.
--criteria <json>noPer-evaluator criteria, a JSON object keyed by evaluator ID.
--search-text <text>noSearch text, for contains-type evaluators.
--path <path>noFlow project directory.

Data shape: Code: "FlowEvalAdd", Data: { Status, Name, Id, Set }.

uip maestro flow eval list​

Requires --set <name>. Data shape: Code: "FlowEvalList", Data is an array of { Name, Id, Inputs, Expected, Evaluators } (Inputs/Expected are stringified JSON; Expected is "-" when absent).

uip maestro flow eval delete​

Arguments: <id> (data point ID or name). Requires --set <name>. Data shape: Code: "FlowEvalRemove".

uip maestro flow eval simulations​

Mock or LLM-simulate a component's response for one data point — lets a data point exercise a flow without hitting the real dependency (an external API, a nested agent tool, and so on).

uip maestro flow eval simulations create​

OptionRequiredDescription
<component-id> (argument)yesComponent ID to simulate.
--set <name>yesEvaluation set name or ID.
--data-point <id>yesData point name or ID.
--strategy <Static|Llm>yesSimulation strategy.
--component-type <type>conditionallyDefaults to Node when --parent is passed; otherwise required.
--component-description <text>noComponent description.
--simulation-instructions <text>required with LlmLLM simulation instructions.
--mock-value <json>required with StaticMock output value as JSON.
--parent <component-id>noParent agent component ID. When set, this is added as a child tool simulation on that agent node instead of a top-level component simulation.
--path <path>noFlow project directory.

<component-id> must be a node ID from the .flow file or one of its subflows, not a node label. An ID that matches no node fails, and the error suggests the closest matching node IDs when there are any.

Data shape: Code: "FlowEvalSimulationAdd" (or "FlowEvalChildSimulationAdd" when --parent is set), Data: { ComponentId, ComponentType, Strategy, DataPoint, Set, Parent? }.

uip maestro flow eval simulations list​

Requires --set/--data-point. --parent <component-id> lists child tool simulations on that agent node instead of top-level ones. Data shape: Code: "FlowEvalSimulationList" (or "FlowEvalChildSimulationList" with --parent).

uip maestro flow eval simulations delete​

Argument: <component-id>. Requires --set/--data-point; --parent to target a child simulation. Data shape: Code: "FlowEvalSimulationRemove".

uip maestro flow eval runs​

Run an evaluation set remotely in Studio Web and inspect results. Every subcommand takes --set <name> (required), plus --solution-id <id> or --project-id <id> to pin the target Studio Web project (by default, read from the parent .uipx or SolutionStorage.json), and --path <path>.

uip maestro flow eval runs start​

Additional options: --entry-point <entry> (a trigger node ID from the .flow file; defaults to the set's selectedEntrypoint), --folder-key <key> (Orchestrator folder — uses the personal workspace if omitted), --debug-mode <mode> (Studio Web debug mode override), --wait (block until completion and print results), --timeout <seconds> (with --wait).

Without --solution-id or --project-id, the command compiles the local flow project and uploads it to Studio Web before it starts the run, so the run uses the current local files. With either option, the command runs against the project already in Studio Web.

uip maestro flow eval runs start --set "Regression Suite" --wait
uip maestro flow eval runs start --set "Regression Suite" --wait

Data shape: Code: "FlowEvalRunStarted", Data: { EvalSetRunId, EvalSetName, DataPoints, Evaluators, Status }. Without --wait, Instructions tells you the exact eval runs status command to poll with.

uip maestro flow eval runs status​

Argument: <evalSetRunId>. Data shape: Code: "FlowEvalRunStatus", Data: { EvalSetRunId, Status, Score, Duration, EvaluatorScores } (Score is "-" if not yet scored).

uip maestro flow eval runs results​

Argument: <evalSetRunId>. Additional options: --only-failed (filter to failed/errored data points), --verbose (include evaluator justifications), --export-format <json|csv> (write to file instead of printing). Data shape: Code: "FlowEvalRunResults", Data is an array of per-data-point result rows.

uip maestro flow eval runs list​

No arguments beyond the shared target options. Data shape: Code: "FlowEvalRunList", Data is an array of past run summaries for the set.

uip maestro flow eval runs compare​

Arguments: <evalSetRunId> plus --compare-to <id> (required) — the second run to diff against. Data shape: Code: "FlowEvalRunComparison", Data is a structured diff between the two runs' scores and per-data-point outcomes.

See also​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated