Fetch Human Evaluation
GEThttps://cloud.agenta.ai/api/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
project_id Project Id (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 Created At (string)required
updated_at Updated At (string)required
{
"id": "string",
"app_id": "string",
"project_id": "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": "string",
"updated_at": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detailobject[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/human-evaluations/:evaluation_id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear