Chat-based (Evals), verifying a date-parsing bug fix:
curl -X POST "https://api.sulus.ai/eval" \
-H "Authorization: Bearer $SULUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Regression: Date Parsing Bug #1234",
"description": "Verify dates like 3/15 are parsed correctly after fix",
"type": "chat.mockConversation",
"messages": [
{ "role": "user", "content": "Book me for 3/15" },
{
"role": "assistant",
"judgePlan": {
"type": "exact",
"toolCalls": [{
"name": "bookAppointment",
"arguments": { "date": "2026-03-15" }
}]
}
}
]
}'
The equivalent voice-based (Simulations) scenario for the same bug:
curl -X POST "https://api.sulus.ai/eval/simulation/scenario" \
-H "Authorization: Bearer $SULUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Regression: Date Parsing Bug #1234",
"instructions": "Request an appointment for 3/15. The assistant should correctly parse this as March 15th, not fail or misinterpret the date.",
"evaluations": [
{
"structuredOutput": {
"name": "date_parsed_correctly",
"schema": { "type": "boolean", "description": "Whether 3/15 was correctly understood as March 15th" }
},
"comparator": "=",
"value": true
}
]
}'