Quality API
Quality endpoints exposed by the Devotel CPaaS API Base path:/api/v1/quality
Endpoint count: 8
List calibration sessions
GET /api/v1/quality/calibrationsstring (enum: open|closed)
—
string
—
integer
—
Get a calibration session
GET /api/v1/quality/calibrations/{id}string
required
—
Get the calibration agreement report
GET /api/v1/quality/calibrations/{id}/reportstring
required
—
Self-scope gamification card — the caller’s own points, badges and anonymised rank
GET /api/v1/quality/gamification/meagent_id; a non-reviewer requesting another agent returns 403. The board is computed with the DEFAULT ruleset so the agent’s rank always agrees with the supervisor leaderboard, and only the caller’s own slice is returned (no other agent identity is leaked).
string (enum: day|week|month)
—
string
—
Org-wide quality-management summary
GET /api/v1/quality/summarystring
Look-back window in days over each outcome’s evaluation time (1-90). Defaults to 30, capped at 90; an out-of-range or non-numeric value falls back to 30.
string
Restrict the rollup to a single conversation channel -
inbox, voice, or all for both. Defaults to all; any unrecognised value falls back to all.Create a calibration session
POST /api/v1/quality/calibrationsstring
required
Evaluation form to calibrate against (must be active).
string
required
Call the roster will score.
string
Optional human-readable session title.
string[]
Invited reviewer ids. De-duplicated server-side; the creator is added implicitly.
Close a calibration session
POST /api/v1/quality/calibrations/{id}/closestring
required
—
Submit a blind calibration score
POST /api/v1/quality/calibrations/{id}/scorestotal_score is re-derived server-side from the form weights; clients cannot supply it. The session must be open and you must be an invited reviewer. Reviewer scope (owner / admin / supervisor).
string
required
—
object
required
Map of criterion_id to raw score (0-100). The server re-derives the weighted total against the form definition.