Fetch Human Evaluation
GET/human-evaluations/:evaluation_id
Fetches a single evaluation based on its ID.
Args: evaluation_id (str): The ID of the evaluation to fetch.
Returns: HumanEvaluation: The fetched evaluation.
Request
Path Parameters
evaluation_id Evaluation Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
app_id App Id (string)required
user_id User Id (string)required
user_username User Username (string)required
evaluation_type Evaluation Type (string)required
variant_ids string[]required
variant_names string[]required
variants_revision_ids string[]required
revisions string[]required
testset_id Testset Id (string)required
testset_name Testset Name (string)required
status Status (string)required
created_at date-timerequired
updated_at date-timerequired
{
"id": "string",
"app_id": "string",
"user_id": "string",
"user_username": "string",
"evaluation_type": "string",
"variant_ids": [
"string"
],
"variant_names": [
"string"
],
"variants_revision_ids": [
"string"
],
"revisions": [
"string"
],
"testset_id": "string",
"testset_name": "string",
"status": "string",
"created_at": "2024-08-19T07:55:04.344Z",
"updated_at": "2024-08-19T07:55:04.344Z"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...