Fetch Human Evaluation Scenarios
GET/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
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
Array [
]
Array [
]
- MOD1
- MOD1
- MOD2
- MOD1
- MOD1
- MOD1
]
idobject
anyOf
string
evaluation_id Evaluation Id (string)required
inputsobject[]required
input_name Input Name (string)required
input_value Input Value (string)required
outputsobject[]required
variant_id Variant Id (string)required
variant_output Variant Output (string)required
voteobject
anyOf
string
scoreobject
anyOf
string
integer
correct_answerobject
anyOf
string
is_pinnedobject
anyOf
boolean
noteobject
anyOf
string
[
{
"id": "string",
"evaluation_id": "string",
"inputs": [
{
"input_name": "string",
"input_value": "string"
}
],
"outputs": [
{
"variant_id": "string",
"variant_output": "string"
}
],
"vote": "string",
"score": "string",
"correct_answer": "string",
"is_pinned": true,
"note": "string"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...