Skip to main content
PATCH
cURL
Allows partial modifications to the scheduled call batch.

Authorizations

X-API-Key
string
header
required

API key

Path Parameters

agent_id
string<uuid>
required
batch_id
string<uuid>
required

Body

application/json
name
string

A name to help you identify the batch.

Maximum string length: 64
windowStart
string<date-time> | null

The start of the time window during which calls can be made.

windowEnd
string<date-time> | null

The end of the time window during which calls can be made.

throttle
string | null

The name or ID of a call throttle. If specified, calls in this batch will be subject to the rate limits defined by the throttle.

quotaUtilizationLimit
number<double> | null

The fraction of your account's call quota (greater than 0 and at most 1) that calls in this batch may use, leaving the rest for other calls. The fraction scales your whole quota and counts all of your account's calls on the same model, so two batches on one model that each set 0.3 share about 30% of your quota (roughly 15% each), not 30% each. Defaults to your account's batch limit, which is 0.9 unless changed. Not available to accounts with a fixed concurrency limit.

Required range: x <= 1
webhookUrl
string<uri> | null

The URL to which a request will be made (synchronously) when a call in the batch is created, excluding those with an outgoing medium. Required if any call has a non-outgoing medium and not allowed otherwise.

Maximum string length: 200
webhookSecret
string | null

The signing secret for requests made to the webhookUrl. This is used to verify that the request came from Ultravox. If unset, an appropriate secret will be chosen for you (but you'll still need to make your endpoint aware of it to verify requests).

Maximum string length: 120
paused
boolean
calls
object[]
write-only

The calls to schedule, at most 10,000.

Required array length: 1 - 10000 elements

Response

200 - application/json
batchId
string<uuid>
required
read-only
created
string<date-time>
required
read-only
totalCount
integer
required
read-only

The total number of calls in this batch.

completedCount
integer
required
read-only

The number of calls in this batch that have been completed (created or error).

endedAt
string<date-time> | null
required
read-only
name
string

A name to help you identify the batch.

Maximum string length: 64
windowStart
string<date-time> | null

The start of the time window during which calls can be made.

windowEnd
string<date-time> | null

The end of the time window during which calls can be made.

throttle
string | null

The name or ID of a call throttle. If specified, calls in this batch will be subject to the rate limits defined by the throttle.

quotaUtilizationLimit
number<double> | null

The fraction of your account's call quota (greater than 0 and at most 1) that calls in this batch may use, leaving the rest for other calls. The fraction scales your whole quota and counts all of your account's calls on the same model, so two batches on one model that each set 0.3 share about 30% of your quota (roughly 15% each), not 30% each. Defaults to your account's batch limit, which is 0.9 unless changed. Not available to accounts with a fixed concurrency limit.

Required range: x <= 1
webhookUrl
string<uri> | null

The URL to which a request will be made (synchronously) when a call in the batch is created, excluding those with an outgoing medium. Required if any call has a non-outgoing medium and not allowed otherwise.

Maximum string length: 200
webhookSecret
string | null

The signing secret for requests made to the webhookUrl. This is used to verify that the request came from Ultravox. If unset, an appropriate secret will be chosen for you (but you'll still need to make your endpoint aware of it to verify requests).

Maximum string length: 120
paused
boolean