Skip to main content

Fetch Human Evaluation Scenarios

GET 

https://cloud.agenta.ai/api/human-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 [

  • idobject
    anyOf
    string
    evaluation_id Evaluation Id (string)required
    inputsobject[]required
  • Array [

  • input_name Input Name (string)required
    input_value Input Value (string)required
  • ]

  • outputsobject[]required
  • Array [

  • variant_id Variant Id (string)required
    variant_output Variant Output (string)required
  • ]

  • voteobject
    anyOf
    string
    scoreobject
    anyOf
    string
    correct_answerobject
    anyOf
    string
    is_pinnedobject
    anyOf
    boolean
    noteobject
    anyOf
    string
  • ]

curl -L 'https://cloud.agenta.ai/api/human-evaluations/:evaluation_id/evaluation_scenarios' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!