Skip to main content

Fetch Evaluation

GET 

/evaluations/:evaluation_id

Fetches a single evaluation based on its ID.

Args: evaluation_id (str): The ID of the evaluation to fetch.

Returns: Evaluation: The fetched evaluation.

Request

Path Parameters

    evaluation_id Evaluation Idrequired

Responses

Successful Response

Schema

    id Id (string)required
    app_id App Id (string)required
    user_id User Id (string)required
    user_username User Username (string)required
    variant_ids string[]required
    variant_names string[]required
    variant_revision_ids string[]required
    revisions string[]required
    testset_id Testset Id (string)
    testset_name Testset Name (string)

    status

    object

    required

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)

    aggregated_results

    object[]

    required

  • Array [

  • evaluator_config

    object

    required

    anyOf

    id Id (string)required
    name Name (string)required
    evaluator_key Evaluator Key (string)required
    settings_values object
    created_at date-timerequired
    updated_at date-timerequired

    result

    object

    required

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)
  • ]

  • average_cost

    object

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)

    total_cost

    object

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)

    average_latency

    object

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)
    created_at date-timerequired
    updated_at date-timerequired
Loading...