Skip to content

Backfill Grading

POST
/dialer/parallel-calls/grading/backfill

CONTACTS NOBODY - but it SPENDS, and it can spend a lot.

With dry_run=false this runs AI grading over EVERY ungraded call with a transcript in the window - a model invocation each, one call every two seconds, with no ceiling other than how many calls exist. On a busy organisation over 365 days that is an unbounded bill from one request.

dry_run defaults to TRUE and genuinely short-circuits before any grading (parallel_calls.py:4602), returning the eligible count and a sample. Call it that way first and read the count.

Tiered billable, not write: it reaches a paid model per record.

Authorizations

Parameters

Query Parameters

days

How far back to look.

integer
default: 30 >= 1 <= 365

How far back to look.

dry_run

true counts and samples; false GRADES AND SPENDS.

boolean
default: true

true counts and samples; false GRADES AND SPENDS.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope for one dialer result.

Open because voice owns the shape of a session, a call stub and a queue stat, and it grows them without a contract bump here. A dropped field would otherwise turn an added upstream field into a removed public one.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string