Python
import requests
url = "https://app.langwatch.ai/api/evaluations/v3/{slug}/run"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"runId": "<string>",
"total": 123,
"runUrl": "<string>"
}Evaluations v3
Create Run
Start execution of a saved Evaluations V3 experiment by slug. Returns immediately with a runId for polling, or streams SSE events if Accept: text/event-stream header is provided.
POST
/
api
/
evaluations
/
v3
/
{slug}
/
run
Python
import requests
url = "https://app.langwatch.ai/api/evaluations/v3/{slug}/run"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"runId": "<string>",
"total": 123,
"runUrl": "<string>"
}Authorizations
Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.
Path Parameters
The slug of the evaluation to run
Was this page helpful?
⌘I