List the built-in evaluators
import requests
url = "https://app.langwatch.ai/api/evaluations/list"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.langwatch.ai/api/evaluations/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/evaluations/list \
--header 'x-api-key: <api-key>'{
"evaluators": {}
}Evaluations
List the built-in evaluators
List every evaluator this server ships with, along with the data fields each one needs and the settings it accepts. The keys of evaluators are the ids you put in the evaluate path. The list is the same for every caller and needs no credential.
GET
/
api
/
evaluations
/
list
List the built-in evaluators
import requests
url = "https://app.langwatch.ai/api/evaluations/list"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.langwatch.ai/api/evaluations/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/evaluations/list \
--header 'x-api-key: <api-key>'{
"evaluators": {}
}Was this page helpful?
⌘I