Skip to main content
Version: 4.7.23

Create a new test result from test runs

Create a new test result from test runs

Request Body required
    pipelineSlug string required

    Slug for the pipeline

    branch string nullable

    The branch that the test result was created from

    commit string nullable

    The commit that the test result was created from

    name string nullable

    The name of the test result

    metadata object nullable
    property name* MetadataValueObject nullable
    oneOf

    type string required

    Possible values: [url]

    url uri required
    text string required
    type string required

    type string required

    Possible values: [url]

    url uri required
    text string required
    triggerRemoteEvals boolean

    Default value: true

    Optional flag to trigger remote evaluations

    testRuns object[] required
  • Array [
  • id uuid nullable

    The ID of the test run

    caseId uuid required

    The ID of the test case

    inputs object required

    The input data for the test case

    property name* any

    The input data for the test case

    outputs object

    The returned outputs for the test case

    property name* any

    The returned outputs for the test case

    evaluations object[]

    Optional array of local evaluations

  • Array [
  • name string required

    The name of the local evaluation

    value number required

    The numeric value of the evaluation

    label string nullable

    Optional label for the evaluation

    debug object nullable
    resolvedPrompt string

    The resolved prompt used for the evaluation

    response string

    The response received from the evaluation

    finalClassification string

    The final classification of the evaluation

    processorLogs array[]

    Processor logs

    logs array[]

    Evaluator logs

    error object
    message string

    Error message

    date date-time

    Date and time of the error

  • ]
  • ]
Responses

Test result created successfully


Schema
    resultId uuid required
Loading...