Skip to content

Fill worksheet cells with AI answers

POST
/voice/worksheets/calculate

THIS COSTS CREDITS, PER CELL. Cost scales with the size of the request.

A spreadsheet-shaped batch: each cell is its own model call, so a hundred rows is a hundred charges. Run it asynchronously and poll the job for anything but a handful of cells.

Authorizations

Parameters

Query Parameters

run_async

True returns a job id immediately (202) instead of waiting. Poll GET /voice/jobs/{job_id} for the result.

boolean

True returns a job id immediately (202) instead of waiting. Poll GET /voice/jobs/{job_id} for the result.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

The table, and which cells to fill.

object
key
additional properties
any

Responses

200

Successful Response

object
data
required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

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
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

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