Skip to main content
POST
/
v2
/
evaluators
/
action-advancement
/
execute
Execute action-advancement evaluator
curl --request POST \
  --url https://api.traceloop.com/v2/evaluators/action-advancement/execute \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "messages": "[{\"role\":\"user\",\"content\":\"Book me a flight to Paris\"},{\"role\":\"assistant\",\"content\":\"I found 3 flights to Paris. Booking the cheapest one now.\"}]"
  }
}
'
{
  "pass": true,
  "reason": "The assistant advanced the user's goal by booking the requested flight"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Request body

input
object
required

Response

OK

pass
boolean
Example:

true

reason
string
Example:

"The assistant advanced the user's goal by booking the requested flight"