Start an eval run
curl --request POST \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"created_at": "2023-11-07T05:31:56Z",
"fail_count": 123,
"id": "<string>",
"pass_count": 123,
"status": "<string>",
"suite": "<string>",
"triggered_by": "<string>",
"error": "<string>",
"skipped": [
{
"reason": "<string>",
"scenario_id": "<string>",
"scenario_name": "<string>"
}
],
"version": "<string>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Conversations
Start an eval run
Run one suite against the latest published version on demand. Organization API keys only.
POST
/
conversations
/
instances
/
{instanceSlug}
/
eval-runs
Start an eval run
curl --request POST \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/eval-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"created_at": "2023-11-07T05:31:56Z",
"fail_count": 123,
"id": "<string>",
"pass_count": 123,
"status": "<string>",
"suite": "<string>",
"triggered_by": "<string>",
"error": "<string>",
"skipped": [
{
"reason": "<string>",
"scenario_id": "<string>",
"scenario_name": "<string>"
}
],
"version": "<string>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Behavior
The run is queued and executes in the background; the response is201 with status running. Poll Get an eval run until the status is passed, failed, or error. The state model is on Annotations and evaluation.Response
Created
Last modified on November 30, 2026