Skip to main content

Overview

Add new test cases to an experiment. Each row represents a different input scenario that will be tested against all columns.

Method Signature

Parameters

string
required
The unique identifier of the target experiment
Union[Dict[str, Any], AddExperimentRowsRequest]
required
Request containing rows to add, each with input variables and optional ideal output

Returns

Returns a dictionary containing:
  • message (str): Success message
  • added_rows (int): Number of rows added
  • experiment_id (str): ID of the updated experiment

Example

Error Handling