Create Run

POST

Create a new Run

Request

This endpoint expects an object.
testset_idintegerOptional
scoring_config_idintegerOptional
statusstringOptionalDefaults to awaiting_execution
model_paramsmap from strings to anyOptional

Optional. The model parameters to use for this run.

sourcestringOptionalDefaults to api
notesstringOptional
prompt_templatestringOptional
metricslist of integersOptional

Response

This endpoint returns an object.
idintegerOptional
created_atdatetimeOptional

The creation date and time of the run.

updated_atdatetimeOptional

The last time the run was updated.

execution_start_timedatetimeOptional

The start time of the run.

execution_end_timedatetimeOptional

The end time of the run.

testset_idintegerOptional

The testset that was executed in this run.

statusstringOptional

The current status of the run.

limit_testcasesintegerOptional

The maximum number of testcases to run.

sourcestringOptional

How the run was created.

model_paramsmap from strings to anyOptional

The model parameters used when generating the run.

notesstringOptional

Notes about the run.

scoring_config_idintegerOptional

The ID of the scoring configuration the run uses.

prompt_templatestringOptional

The prompt template to be used while executing the run.

scoring_start_timedatetimeOptional

The start time of scoring the run’s results.

scoring_end_timedatetimeOptional

The end time of scoring the run’s results.

Errors