Fetch List Evaluations
GET/evaluations
Fetches a list of evaluations, optionally filtered by an app ID.
Args: app_id (Optional[str]): An optional app ID to filter the evaluations.
Returns: List[Evaluation]: A list of evaluations.
Request
Query Parameters
app_id App Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- Error
- MOD1
Array [
- EvaluatorConfig
- Error
- MOD1
]
- Result
- Error
- MOD1
- Result
- Error
- MOD1
- Result
- Error
- MOD1
]
id Id (string)required
app_id App Id (string)required
project_id Project Id (string)required
variant_ids string[]required
variant_names string[]required
variant_revision_ids string[]required
revisions string[]required
testset_idobject
anyOf
string
testset_nameobject
anyOf
string
statusobjectrequired
type Type (string)required
valueobject
anyOf
errorobject
anyOf
message Message (string)required
stacktraceobject
anyOf
string
aggregated_resultsobject[]required
evaluator_configobjectrequired
anyOf
id Id (string)required
name Name (string)required
project_id Project Id (string)required
evaluator_key Evaluator Key (string)required
settings_valuesobject
anyOf
created_at Created At (string)required
updated_at Updated At (string)required
resultobjectrequired
type Type (string)required
valueobject
anyOf
errorobject
anyOf
message Message (string)required
stacktraceobject
anyOf
string
average_costobject
anyOf
type Type (string)required
valueobject
anyOf
errorobject
anyOf
message Message (string)required
stacktraceobject
anyOf
string
total_costobject
anyOf
type Type (string)required
valueobject
anyOf
errorobject
anyOf
message Message (string)required
stacktraceobject
anyOf
string
average_latencyobject
anyOf
type Type (string)required
valueobject
anyOf
errorobject
anyOf
message Message (string)required
stacktraceobject
anyOf
string
created_at date-timerequired
updated_at date-timerequired
[
{
"id": "string",
"app_id": "string",
"project_id": "string",
"variant_ids": [
"string"
],
"variant_names": [
"string"
],
"variant_revision_ids": [
"string"
],
"revisions": [
"string"
],
"testset_id": "string",
"testset_name": "string",
"status": {
"type": "string",
"error": {}
},
"aggregated_results": [
{
"evaluator_config": {},
"result": {
"type": "string",
"error": {}
}
}
],
"average_cost": {},
"total_cost": {},
"average_latency": {},
"created_at": "2024-11-22T12:54:54.313Z",
"updated_at": "2024-11-22T12:54:54.314Z"
}
]
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...