Platform
Quality
Quality tests an agent before it goes live and checks its real calls afterwards. In the dashboard it is under Build → Quality; through the API it needs an API key with the quality scope.
Test calls with simulated callers
A suite is a set of scenarios for one agent. A run places one real call per scenario with a simulated caller, then measures and judges each call. A scenario describes the caller, the language (for example hi-IN), what should happen, and how hard the caller makes it.
- Callers can be realistic, polite or adversarial, switch between Hindi and English, speak over the agent, or call with background noise.
- A caller can give a fact in a short earlier call, to check memory across calls.
- Measured checks: reply time, silences, how well the caller was heard, reply length, how the call ended.
- Judged checks: task completed, rules followed, facts, safety, staying in role, language and tone.
Ask for an estimate of calls, minutes and cost before a run:
curl -X POST https://api.inferexai.in/v1/quality/simulations/runs/estimate \
-H "Authorization: Bearer sk-live-your-key-here" \
-H "Content-Type: application/json" \
-d '{"suite_id": "<suite id>"}'
Test calls are charged at your normal rates, plus the simulated caller, its voice and the judging. They appear in the call list only under the test filter and never set off an alert.
Analysers on real and uploaded calls
Describe what a good call looks like; an analyser turns it into checks and lists each problem with the words from the transcript that show it. With auto: true it reviews every finished live call of the agents you pick, up to a daily rupee limit you set.
curl -X POST https://api.inferexai.in/v1/quality/analyzers \
-H "Authorization: Bearer sk-live-your-key-here" \
-H "Content-Type: application/json" \
-d '{
"name": "Payment reminder checks",
"good_call": "The agent confirms it is speaking to the customer before giving any amount, states the due date, never threatens, and records when the customer will pay.",
"agent_ids": ["va_3f2a9c1b7d5e4f608a12"],
"auto": true
}'
Calls from elsewhere can be checked too: upload a recording or a transcript to POST /v1/call-uploads.
Compliance checks
Packs for DPDP, RBI lending and TRAI rules add ready checks to an analyser or to every test call of a suite.
Compliance results are a technical signal only, not legal certification. Each result carries that disclaimer. Have your own compliance team review agents before live use.
Regression tests, CI gate and benchmarks
Regression testsSave a failed call as a scenario, so the same problem is tested on every run.
CI gateGET /v1/quality/simulations/runs/{id}/gate answers pass or fail against a minimum pass rate (90% unless you set it).
Scheduled runsRun a suite daily or weekly and get an event when the pass rate drops by 10 points or more.
BenchmarksRun the same suite on 2 to 5 model combinations and compare pass rate, reply time and cost.
curl https://api.inferexai.in/v1/quality/simulations/runs/<run id>/gate \
-H "Authorization: Bearer sk-live-your-key-here"
# → {"run_id": "…", "status": "completed", "min_pass_rate": 0.9,
# "gate": "pass", "pass_rate": 0.933, "reason": null}
Suggestions and auto-improve
After a run, problems become suggestions: a setting to change or an edit to the instructions. Trial a suggestion on test calls first; the live agent is untouched. Applying one makes a new agent version that you can revert. Auto-improve tries a run's open suggestions in turn within a budget and shows the best one. Nothing is applied automatically.
Judge
The same judging is available on its own for any text or images: ask your questions, get structured answers with a confidence. See Judge.