Skip to main content

Fetch Evaluation Scenarios

GET 

/evaluations/:evaluation_id/evaluation_scenarios

Fetches evaluation scenarios for a given evaluation ID.

Arguments: evaluation_id (str): The ID of the evaluation for which to fetch scenarios.

Raises: HTTPException: If the evaluation is not found or access is denied.

Returns: List[EvaluationScenario]: A list of evaluation scenarios.

Request

Path Parameters

    evaluation_id Evaluation Idrequired

Responses

Successful Response

Schema

  • Array [

  • id Id (string)
    evaluation_id Evaluation Id (string)required

    inputs

    object[]

    required

  • Array [

  • name Name (string)required
    type Type (string)required
    value Value
  • ]

  • outputs

    object[]

    required

  • Array [

  • result

    object

    required

    type Type (string)required
    value Value

    error

    object

    message Message (string)required
    stacktrace Stacktrace (string)
    cost Cost (number)
    latency Latency (number)
  • ]

  • evaluation Evaluation (string)
    correct_answer Correct Answer (string)
    is_pinned Is Pinned (boolean)
    note Note (string)

    results

    object[]

    required

  • Array [

  • evaluator_config Evaluator Config (string)required

    result

    object

    required

    type Type (string)required
    value Value

    error

    object

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

  • ]

Loading...