Create a new test result from runs
Create a new test result from runs
Request Body required
- url
- string
- boolean
- Array [
- url
- string
- boolean
- Array [
- url
- string
- boolean
- ]
- Array [
- ]
- Array [
- ]
- ]
The pipeline slug to create the test result for. Only one of pipelineSlug or pipelineId is required.
The pipeline ID to create the test result for. Only one of pipelineSlug or pipelineId is required.
Possible values: [manual
, runner
]
The method used to collect the test runs
The branch that the test result was created from
The commit that the test result was created from
The name of the test result
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Default value: true
Optional flag to trigger remote evaluations
testRuns object[] required
The ID of the test run
The ID of the test case. Mutually exclusive with 'name' and 'inputs'.
Used for supplying local data. The name of the test run. Used with 'inputs' and mutually exclusive with 'caseId'.
inputs object
Used for supplying local data. The input data for the test run. Used with 'name' and mutually exclusive with 'caseId'.
Used for supplying local data. The input data for the test run. Used with 'name' and mutually exclusive with 'caseId'.
expectedOutputs object
Used for supplying local data. The expected outputs for the test run. Used with 'name' and mutually exclusive with 'caseId'. Optional, since not all evaluators require expected outputs.
Used for supplying local data. The expected outputs for the test run. Used with 'name' and mutually exclusive with 'caseId'. Optional, since not all evaluators require expected outputs.
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
stepRuns object[] required
Use outputs.steps insteads.
modelParams object required
inputs object required
outputs object required
context object
render object
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
evaluations object[]
Optional array of local evaluations
The name of the local evaluation
The numeric value of the evaluation
Optional label for the evaluation
debug object nullable
The resolved prompt used for the evaluation
The response received from the evaluation
The final classification of the evaluation
Processor logs
Evaluator logs
error object
Error message
Date and time of the error
path object[] nullable
Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
Possible values: [suite
]
- 200
Test result created successfully
Schema
{ "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }
Schema
{ "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }