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 [
- ]
- ]
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'.
The name of the test run. Used with 'inputs' and mutually exclusive with 'caseId'.
inputs object
The input data for the test run. Used with 'name' and mutually exclusive with 'caseId'.
The input data for the test run. Used with 'name' and mutually exclusive with 'caseId'.
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
- 200
Test result created successfully
Schema
{ "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }
Schema
{ "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }