Skip to main content

Evaluator Run

POST 

https://cloud.agenta.ai/api/evaluators/:evaluator_key/run

Endpoint to evaluate LLM app run

Args: request (Request): The request object. evaluator_key (str): The key of the evaluator. payload (EvaluatorInputInterface): The payload containing the request data.

Returns: result: EvaluatorOutputInterface object containing the outputs.

Request

Path Parameters

    evaluator_key Evaluator Keyrequired

Body

required
    inputs object
    settingsobject
    anyOf
    credentialsobject
    anyOf

Responses

Successful Response
Schema
    outputs objectrequired
curl -L 'https://cloud.agenta.ai/api/evaluators/:evaluator_key/run' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"inputs": {},
"settings": {},
"credentials": {}
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
Body required
{
  "inputs": {},
  "settings": {},
  "credentials": {}
}
ResponseClear

Click the Send API Request button above and see the response here!