Responses are generated using AI and may contain mistakes.
Bland is getting a major upgrade. We're working on updating our docs as users transition in the coming weeks. Reach out to support@bland.ai with questions.
Dispositions are enabled per organization. If your organization does not have access, these endpoints return 404.
Stops a backfill. The request takes no body. Calls still running are cancelled, and results from calls that finished are kept.Cancelling finishes in the background, so the response can still read queued or running. Poll Get Disposition Backfill until status is cancelled.Requires an admin, owner, operator, or prompter role.
Headers
string
required
Your API key for authentication. Use a full-access key.
Path Parameters
string
required
The agent’s unique identifier. Must be a UUID; otherwise returns 400 with the message agentId must be a valid UUID. Returns 404 Agent not found if the agent is not in your organization.
string
required
The disposition’s unique identifier. Must be a UUID; otherwise returns 400 with the message dispositionId must be a valid UUID.
string
required
The backfill’s id. Must be a UUID; otherwise returns 400 with the message jobId must be a valid UUID. Returns 404 Backfill not found if it does not belong to this disposition.
Response
Returns 202 on success with the backfill as it reads now. Returns 409 CONFLICT if it has already finished.
object
The backfill.
Show backfill object
string
Unique identifier for the backfill. Pass it as {job_id} to the other backfill endpoints.
string
The disposition being backfilled.
string
The version that runs on the calls.
string
queued, running, complete, partial, failed, or cancelled. complete means no call failed. partial means some calls failed, or the backfill reached its 24 hour deadline. failed means every call failed, or the backfill could not run.
object
{ "start", "end" } as ISO 8601 timestamps. For a callIds backfill, the range that covers the selected calls.
number
Fraction of eligible calls selected. Always 1 for a callIds backfill.
number
Eligible calls counted when the backfill was created.
number
Calls the backfill selected, before exclusions. 0 until it finishes.
number
Calls that completed. Counted live while the backfill is queued or running.
number
Calls that failed or were cancelled. Counted live while the backfill is queued or running.
object
Selected calls that were skipped, counted by reason. Empty until the backfill starts.
already_scored: this version already has a completed run on the call.
in_flight: this version is already running on the call.
sensitive: the call is excluded for compliance reasons.
fenced: the call’s data is past its retention limit.
malformed: the call’s ID is not a UUID.
object
Progress counters. The shape can change.
string | null
Expected cost in USD when the backfill was created, as a decimal string.
string | null
What the backfill cost in USD, as a decimal string. null until it finishes.
string | null
ISO 8601 time the backfill stops, 24 hours after it starts. null until it starts.
string | null
Why the backfill stopped early, for example backfill_cancelled, backfill_deadline, backfill_execution_failed, billing_not_allowed, or credit_limit_reached. null otherwise.
string | null
Human-readable version of errorCode.
string
ISO 8601 timestamp of creation.
string | null
ISO 8601 timestamp of when it started running.
string | null
ISO 8601 timestamp of when it finished.
string
Identifier for the selected calls.
object | null
Status of the analytics update for the covered days. The shape can change.
null | array
null on success, or a list of error objects if the request failed.