Evaluator Data Map
POSThttps://cloud.agenta.ai/api/evaluators/map
Endpoint to map the experiment data tree to evaluator interface.
Args: request (Request): The request object. payload (EvaluatorMappingInputInterface): The payload containing the request data.
Returns: EvaluatorMappingOutputInterface: the evaluator mapping output object
Request
- application/json
Body
required
inputs objectrequired
mapping objectrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
outputs objectrequired
{
"outputs": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"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/evaluators/map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"inputs": {},
"mapping": {}
}'
ResponseClear