add_triage_flag
ChatGPTFlag a moment on an attached call. Flags pinpoint where on a call something went wrong. The call_id must already be attached as a resource on this issue, otherwise the request fails with 409 conflict and { error: "call_not_attached" }. Flag types accumulate into a reusable per-org catalog (see List Flag Types). POST /v1/triage/issues/{id}/flags. Docs: https://docs.bland.ai/api-v1/post/triage-issues-id-flags
archive_agent_node
ChatGPTCopy a node from an agent into the organization archive. Stores a self-contained copy of a node in the organization archive, attributed to this agent, so you can retire it from the canvas without losing it. Archiving never changes the agent's graph: remove the node yourself by saving a new version with Create Agent Version. Browse the archive with List Archived Nodes. POST /v2/agents/{agent_id}/archived-nodes. Docs: https://docs.bland.ai/api-v2/post/agents-id-archived-nodes
attach_agent_numbers
ChatGPTRoute inbound calls on your phone numbers to an agent. Points one or more of your phone numbers at the agent so inbound calls run it. Any existing pathway or persona assignment on those numbers is replaced. Calls answer with the agent's production version once one is promoted; until then they run the newest version saved on the dev timeline at the time of the attach, so re-attach after saving to refresh it. Enterprise plans can pass environment: "staging" so calls run the version pinned to staging instead. The agent must have at least one saved version. POST /v2/agents/{agent_id}/inbound/attach. Docs: https://docs.bland.ai/api-v2/post/agents-id-inbound-attach
attach_triage_call
ChatGPTAttach a call to an issue. Convenience over Attach Resource for when you already have the call_id. Idempotent. Returns the full updated issue with resource_count incremented. PUT /v1/triage/issues/{id}/calls/{call_id}. Docs: https://docs.bland.ai/api-v1/put/triage-issues-id-calls-call-id
attach_triage_resource
ChatGPTAttach a call, SMS conversation, or file to an issue. Attaches a resource as evidence on an issue. Resources are what Norm reads during an investigation. Attaching the same resource twice is a no-op. POST /v1/triage/issues/{id}/resources. Docs: https://docs.bland.ai/api-v1/post/triage-issues-id-resources
batch_run_test_scenarios
ChatGPTExecute multiple test scenarios as a batch. Returns immediately with a batch ID while tests execute asynchronously. POST /v1/agent-testing/batch-run. Docs: https://docs.bland.ai/api-v1/post/agent-testing-batch-run
cancel_agent_check_run
ChatGPTCancel an in-flight check run (PENDING/RUNNING) — stops the simulation/scoring work; the run records CANCELLED.
cancel_eval_run
ChatGPTCancel a pending, queued, or running eval run. POST /v1/evals/runs/{run_id}/cancellations. Docs: https://docs.bland.ai/api-v1/post/evals-runs-id-cancel
clone_test_template
ChatGPTClone a template to create a new scenario bound to your pathway or persona. POST /v1/agent-testing/templates/{id}/clone. Docs: https://docs.bland.ai/api-v1/post/agent-testing-templates-clone
create_agent
ChatGPTCreate a new agent (the /v2 agents model). Creates the agent plus its dev/staging/production environments, all unpinned. Returns the agent and its environments.
create_agent_branch
ChatGPTCreate a branch off the agent's current dev head — an isolated workspace whose saves don't touch dev until the branch is merged back (rebase + fast-forward).
create_agent_disposition
ChatGPTCreate a disposition with an initial draft definition. Creates a disposition on the agent with the supplied definition as its draft. The disposition starts disabled and does not run on calls until you estimate and publish it. Edit the draft later with Update Disposition Draft. POST /v2/agents/{agent_id}/dispositions. Docs: https://docs.bland.ai/api-v2/post/agents-id-dispositions
create_agent_experiment
ChatGPTStart an A/B experiment on a variant version. Starts an A/B experiment that sends traffic_percentage percent of the agent's eligible calls to variant_version_id, with the rest running the version pinned to baseline_env. Only calls that do not explicitly select a version or environment are eligible. An agent has at most one active experiment: stop it with Stop Experiment before creating another, or adjust it in place with Update Experiment. Returns 409 CONFLICT while one is active. POST /v2/agents/{agent_id}/experiments. Docs: https://docs.bland.ai/api-v2/post/agents-id-experiments
create_batch
ChatGPTCreate a new batch of calls using direct input. POST /v2/batches/create. Docs: https://docs.bland.ai/api-v2/post/batches
create_call
ChatGPTPlace an outbound call to a phone number (optionally with a task or pathway) and render the call-log inspector for the newly-created call. This tool exposes the COMMON fields only. For anything else POST /v1/calls accepts (an agent_id or persona_id, voicemail behavior, transcription keywords, webhooks, retry, recording, a max duration), use send_call, which takes every field. Omit from to use the default caller ID: on the Agent Phone Plan that is the plan's own number, so the person called can call or text it back; otherwise a number from Bland's pool. Omit voice to use the default voice, or pick one from list_voices; a voice the user names is used as given. Refresh (get_call_log) to watch it progress. Scoped to the current organization.
create_contact_memory
ChatGPTCreate a memory record for a contact scoped to a persona or agent number. If a record already exists for that pair, it is returned instead of creating a duplicate. POST /v1/memory/contact. Docs: https://docs.bland.ai/api-v1/post/memory-contact
create_disposition_test_run
ChatGPTRun a disposition against completed production calls. Starts an asynchronous test run of the draft or the published definition against up to 250 of the agent's completed production calls, or replays the frozen cohort of an earlier run. The response is the queued run; poll Get Disposition Test Run for progress and read results with Get Test Run Rows. Test runs bill inference like production runs. An organization may start at most 10 test runs per hour and hold at most 3 in queued or running at once. POST /v2/agents/{agent_id}/dispositions/{disposition_id}/runs. Docs: https://docs.bland.ai/api-v2/post/agents-id-dispositions-disposition-id-runs
create_eval_agent
ChatGPTCreate a new eval agent, optionally seeded from a template. POST /v1/evals/agents. Docs: https://docs.bland.ai/api-v1/post/evals-agents
create_eval_agent_version
ChatGPTFork a new editable draft version of an eval agent. POST /v1/evals/agents/{eval_agent_id}/versions. Docs: https://docs.bland.ai/api-v1/post/evals-agents-id-versions
create_eval_run
ChatGPTSubmit an eval run for a batch of calls against a roster of eval agents (or a saved workbench setup), enqueueing scoring. Returns the initial running scorecard. Scoped to the current organization.
create_eval_user_template
ChatGPTSave a new eval agent template, from scratch or by snapshotting an existing eval agent. POST /v1/evals/user-templates. Docs: https://docs.bland.ai/api-v1/post/evals-user-templates
create_guard_rail
ChatGPTCreate a new guard rail for compliance monitoring. POST /v1/guard_rails. Docs: https://docs.bland.ai/api-v1/post/guard-rails
create_knowledge_base_from_text
ChatGPTCreates a new knowledge base item from direct text input. POST /v1/knowledge/learn. Docs: https://docs.bland.ai/api-v1/post/knowledge-learn-text
create_post_call_webhooks
ChatGPTCreate and send post call webhooks for specified calls. Create and send post call webhooks for one or more call IDs. This endpoint allows you to create webhooks for calls that don't already have webhooks configured. The webhooks will be sent immediately after creation to the specified webhook URL. If the call has already sent a post call webhook, this endpoint will return an error. POST /v1/postcall/webhooks/create. Docs: https://docs.bland.ai/api-v1/post/postcall-webhooks-create
create_prompt
ChatGPTCreate and store a prompt for future use. POST /v1/prompts. Docs: https://docs.bland.ai/api-v1/post/prompts
create_simulation_set
ChatGPTCreate a simulation set that runs each scenario multiple times to detect flaky behavior. Returns immediately while simulations execute asynchronously. POST /v1/agent-testing/simulation-sets. Docs: https://docs.bland.ai/api-v1/post/agent-testing-simulation-sets
create_sms_conversation
ChatGPTCreate an SMS conversation with specific pathway state without triggering immediate message sending. POST /v1/sms/create. Docs: https://docs.bland.ai/api-v1/post/sms-create
create_test_scenario
ChatGPTCreate a new test scenario with assertions for a pathway or persona. POST /v1/agent-testing/scenarios. Docs: https://docs.bland.ai/api-v1/post/agent-testing-scenarios
create_triage_category
ChatGPTCreate a custom issue category. Adds a category to your org's catalog. Issue category is free-form on creation, so this endpoint is only needed when you want a category to appear in pickers before any issue uses it. POST /v1/triage/categories. Docs: https://docs.bland.ai/api-v1/post/triage-categories
create_triage_issue
ChatGPTCreate a triage issue. Opens a new triage issue, optionally with the calls, SMS conversations, or files that prompted it. Issues are the unit of work in Triage. POST /v1/triage/issues. Docs: https://docs.bland.ai/api-v1/post/triage-issues
create_widget
ChatGPTCreates a new widget. POST /v1/widget. Docs: https://docs.bland.ai/api-v1/post/widget
create_widget_custom_component
ChatGPTCreate a new custom component. POST /v1/widget/custom_components. Docs: https://docs.bland.ai/api-v1/post/widget-custom-components
create_workbench_setup
ChatGPTCreate a new workbench setup with an empty draft version. POST /v1/evals/workbench-setups. Docs: https://docs.bland.ai/api-v1/post/evals-workbench-setups
create_workbench_setup_version
ChatGPTFork a new editable draft version of a workbench setup. POST /v1/evals/workbench-setups/{setup_id}/versions. Docs: https://docs.bland.ai/api-v1/post/evals-workbench-setups-id-versions
delete_agent
ChatGPTSoft-delete an agent (the /v2 agents model). The agent disappears from lists; its version history and deployment records stay intact.
delete_agent_branch
ChatGPTAbandon an open branch (soft delete). Its saved versions stay for the record; the name becomes reusable.
delete_agent_check_config
ChatGPTDelete an agent's check config for an environment. Check runs can then no longer be started for it.
delete_agent_disposition
ChatGPTRetire a disposition so it stops classifying new calls. Retires a disposition. It is disabled and marked deleted, so it stops running on new calls and no longer appears in List Dispositions. Results already recorded on past calls are left alone. DELETE /v2/agents/{agent_id}/dispositions/{disposition_id}. Docs: https://docs.bland.ai/api-v2/delete/agents-id-dispositions-disposition-id
delete_agent_variable
ChatGPTDelete one environment variable for an agent.
delete_archived_node
ChatGPTPermanently remove an entry from the node archive. Hard-deletes one archive entry. Archive entries are self-contained copies, so the agent the node came from is not affected. Find entry IDs with List Archived Nodes. DELETE /v2/agents/library/archived-nodes/{archived_node_id}. Docs: https://docs.bland.ai/api-v2/delete/agents-library-archived-nodes-archived-node-id
delete_eval_agent
ChatGPTSoft-delete an eval agent. DELETE /v1/evals/agents/{eval_agent_id}. Docs: https://docs.bland.ai/api-v1/delete/evals-agents-id
delete_eval_user_template
ChatGPTSoft-delete a saved eval agent template. DELETE /v1/evals/user-templates/{id}. Docs: https://docs.bland.ai/api-v1/delete/evals-user-templates-id
delete_guard_rail
ChatGPTDelete a guard rail. DELETE /v1/guard_rails/{guard_rail_id}. Docs: https://docs.bland.ai/api-v1/delete/guard-rails-id
delete_knowledge_base
ChatGPTSoft deletes a knowledge base item by setting its status to 'DELETED'. DELETE /v1/knowledge/{knowledge_base_id}. Docs: https://docs.bland.ai/api-v1/delete/knowledge-id
delete_sms_conversation
ChatGPTDelete a specific conversation and all of its associated messages. This action is permanent. DELETE /v1/sms/conversations/{id}. Docs: https://docs.bland.ai/api-v1/delete/sms-conversations
delete_sms_conversation_messages
ChatGPTMark selected messages in one SMS conversation as cleared. Requires the conversation ID and a nonempty list of message IDs. Does not delete the conversation or erase message records. DELETE /v1/sms/conversations/{id}/messages. Docs: https://docs.bland.ai/api-v1/delete/sms-conversations-message
delete_test_scenario
ChatGPTDelete a test scenario and all related data. DELETE /v1/agent-testing/scenarios/{id}. Docs: https://docs.bland.ai/api-v1/delete/agent-testing-scenarios-id
delete_triage_issue
ChatGPTPermanently delete a triage issue. Deletes an issue and everything attached: resources, flags, relations, alert bindings, comments, Norm sessions. The underlying calls, SMS conversations, and files are not affected. To take an issue off the board without losing it, update status to closed instead. DELETE /v1/triage/issues/{id}. Docs: https://docs.bland.ai/api-v1/delete/triage-issues-id
delete_widget_custom_component
ChatGPTDeletes a specific custom component by ID. DELETE /v1/widget/custom_components/{id}. Docs: https://docs.bland.ai/api-v1/delete/widget-custom-components-id
delete_workbench_setup
ChatGPTSoft-delete a workbench setup. DELETE /v1/evals/workbench-setups/{setup_id}. Docs: https://docs.bland.ai/api-v1/delete/evals-workbench-setups-id
detach_agent_numbers
ChatGPTStop routing inbound calls on phone numbers to an agent. Removes the agent from the given phone numbers. Only numbers currently attached to this agent are affected; any others in the list are skipped and not counted. Detached numbers have no inbound assignment until you attach them somewhere else. The reverse operation is Attach Numbers to Agent. POST /v2/agents/{agent_id}/inbound/detach. Docs: https://docs.bland.ai/api-v2/post/agents-id-inbound-detach
detach_triage_call
ChatGPTDetach a call from an issue. Convenience over Remove Resource for when you have the call_id rather than the resource link ID. The underlying call is unaffected. DELETE /v1/triage/issues/{id}/calls/{call_id}. Docs: https://docs.bland.ai/api-v1/delete/triage-issues-id-calls-call-id
disable_agent_disposition
ChatGPTStop a disposition from running on new calls. Sets state to disabled so the disposition no longer runs on new completed calls. The request takes no body. The draft, version history, and publishedVersionId are left untouched, and test runs still work. There is no separate enable call: to turn it back on, publish the draft again, which creates a new version and sets state to enabled. POST /v2/agents/{agent_id}/dispositions/{disposition_id}/disable. Docs: https://docs.bland.ai/api-v2/post/agents-id-dispositions-disposition-id-disable
end_sms_conversation
ChatGPTClose a conversation for good, typically when a human rep is done with it. POST /v1/sms/conversations/{conversation_id}/end. Docs: https://docs.bland.ai/api-v1/post/sms-conversations-end
estimate_agent_disposition
ChatGPTEstimate a disposition's per-call cost before publishing. Prices the current draft as it would execute once published and returns a per-value and total cost range in USD per processed call. The request takes no body. The estimate is stateless: its id is a digest of the draft, its pinned dependencies, and the current pricing basis, so the same draft always yields the same id, and any change yields a new one. Pass the id as estimateId to Publish Disposition, which recomputes it and rejects a stale one. POST /v2/agents/{agent_id}/dispositions/{disposition_id}/estimates. Docs: https://docs.bland.ai/api-v2/post/agents-id-dispositions-disposition-id-estimates
estimate_eval_run
ChatGPTPreview the size and cost of a run before starting it. POST /v1/evals/runs/estimates. Docs: https://docs.bland.ai/api-v1/post/evals-runs-estimates
export_disposition_test_run_csv
ChatGPTDownload a test run's results as CSV. Streams the whole test run as a CSV file, one row per call and value, with the engine's result, its evidence, and the latest correction saved for that cell. This is the same data as Get Test Run Rows without paging. Unlike the other endpoints here, the success response is CSV, not JSON; errors still use the JSON envelope. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/export.csv. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-export-csv
find_contact
ChatGPTFind a contact by phone number, email, or external ID. Returns the contact with all identifiers, contact_memories (per persona/agent), and memory entities. POST /v1/contacts/find. Docs: https://docs.bland.ai/api-v1/get/contacts-find
get_agent
ChatGPTFetch one agent by id, including its environment pointers (which version staging/production are pinned to; dev is always live). Cross-org or missing ids fail.
get_agent_check_config
ChatGPTFetch an agent's check config for an environment (the judges + scenarios that gate promotions into it), or null when none is configured.
get_agent_check_run
ChatGPTFetch one production check run by id, including its per-eval verdicts and the linked simulation set (for viewing the generated conversations).
get_agent_disposition
ChatGPTRetrieve a disposition's summary and lifecycle state. Returns one disposition's summary: its state, the published version pointer, and the draft revision counter. A disposition is created disabled with only a draft. Publish Disposition freezes the draft into an immutable version and sets state to enabled, after which it runs on every new completed call. Disable Disposition sets state back to disabled without touching the draft or version history; publishing again re-enables it. GET /v2/agents/{agent_id}/dispositions/{disposition_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id
get_agent_disposition_draft
ChatGPTRetrieve a disposition's live draft definition. Returns the editable draft definition and its current revision. Send that revision back as expectedDraftRevision when you call Update Disposition Draft or Publish Disposition. Compare the draft against its published base with Get Disposition Version. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/draft. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-draft
get_agent_disposition_version
ChatGPTRetrieve one published disposition version. Returns one immutable version created by Publish Disposition, including the exact definition that version executes. Find version ids with List Disposition Versions or from publishedVersionId on Get Disposition. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-versions-version-id
get_agent_experiment
ChatGPTRetrieve one experiment and its live progress. Returns one experiment. For an active experiment, variant_calls_routed is the live count of connected variant calls, so poll this endpoint to track progress toward variant_call_quota. An active experiment whose ends_at has passed is completed with date_ended before it is returned. Use List Experiments to find experiment IDs. GET /v2/agents/{agent_id}/experiments/{experiment_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-experiments-experiment-id
get_agent_memory_schema
ChatGPTRead what the agent remembers about each contact between calls. Returns the memory entity schema the agent runs with today: the kinds of things it tracks per contact, such as a booking or an order, and the fields it fills in for each one. GET /v2/agents/{agent_id}/memory/schema. Docs: https://docs.bland.ai/api-v2/get/agents-id-memory-schema
get_agent_number_binding
ChatGPTCheck which phone numbers are attached to an agent and whether each one answers on the production or staging environment. Returns the agent's inbound number binding. persona_id is null until the first successful Attach Numbers to Agent call. numbers lists the numbers attached to the agent and the environment each one answers on. An unknown agent ID returns persona_id: null rather than 404. GET /v2/agents/{agent_id}/inbound. Docs: https://docs.bland.ai/api-v2/get/agents-id-inbound
get_agent_scenario_history
ChatGPTList how one scenario changed across saved versions. Walks the agent's saved versions, newest first, and returns the scenario node's saved content at each one, 25 versions per page, alongside the node as currently pinned in staging and production. Works for scenario, complex-scenario, auth, auth-zone, and complex-auth nodes, and for the agent's hub prompt by passing agent as the node_id. Node content is returned as stored, so older versions may carry fields the editor no longer writes. To read a whole version instead, use Get Latest Agent Version. GET /v2/agents/{agent_id}/scenarios/{node_id}/history. Docs: https://docs.bland.ai/api-v2/get/agents-id-scenarios-node-id-history
get_agent_version
ChatGPTFetch a specific published version (by semver, e.g. "1.2.0") including its full snapshot — used to view what an environment is pinned to.
get_batch
ChatGPTRetrieve metadata for a specific batch. This does not include logs, use the logs endpoint for that. GET /v2/batches/{batch_id}. Docs: https://docs.bland.ai/api-v2/get/batches-id
get_batch_logs
ChatGPTRetrieve logs for a specific batch. GET /v2/batches/{batch_id}/logs. Docs: https://docs.bland.ai/api-v2/get/batches-id-logs
get_bland_doc
ChatGPTFetch the full markdown of a single Bland docs page (e.g. path 'api-v1/post/calls'). Use after search_bland_docs.
get_bland_mcp_setup
ChatGPTReturns connection guidance for the Bland MCP server. Placeholder tool that proves the SDK is mounted; real action tools are registered by the action⇄widget registry.
get_block_rule
ChatGPTRetrieve the details of a specific block rule. GET /v1/blocked_numbers/{block_id}. Docs: https://docs.bland.ai/api-v1/get/blocked-numbers-id
get_call_log
ChatGPTFetch a single call — its transcript, recording, summary, and metadata — and render the call-log inspector. Scoped to the current organization; missing/cross-org call ids 404.
get_contact
ChatGPTRetrieve a contact by its unique ID, including all identifiers, contact_memories (per persona/agent), and memory entities. GET /v1/contacts/{contact_id}. Docs: https://docs.bland.ai/api-v1/get/contacts-id
get_contact_memory
ChatGPTRetrieve a contact's full memory record by ID, including their conversation summary, structured facts, recent messages, and open items. GET /v1/memory/contact/{memory_id}. Docs: https://docs.bland.ai/api-v1/get/memory-contact-id
get_disposition_judge_catalog
ChatGPTList the judges a disposition can pin for this agent. A judge is an evaluation rubric applied to call evidence; a disposition value pins a published judge version and records the level it selects. Returns the judges this agent can pin, organization-wide judges plus judges scoped to this agent, limited to those with a published version, ordered by name. Read the full rubric with Get Judge Version. GET /v2/agents/{agent_id}/dispositions/judge-catalog. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-judge-catalog
get_disposition_judge_version
ChatGPTRetrieve one version of a judge's rubric. A judge is an evaluation rubric applied to call evidence. Returns one version of a judge's rubric: its prompts and the levels it can select, with each level flagged as a target or not. Any version of the judge can be read, but a disposition can only pin the published judgeVersionId listed by Get Judge Catalog. GET /v2/agents/{agent_id}/dispositions/judges/{judge_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-judges-judge-id-versions-version-id
get_disposition_model_profile_catalog
ChatGPTList the model profiles available to extractors. Returns the model profiles an extractor's inferenceConfig.modelProfileKey may name. A profile is an opaque handle for a quality, latency, and cost trade-off; only profiles currently available for structured extraction are listed. Use a profile's key in Create Disposition Extractor or Update Disposition Extractor Draft. GET /v2/agents/{agent_id}/dispositions/model-profile-catalog. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-model-profile-catalog
get_disposition_test_annotation
ChatGPTList correction revisions for one call and value. Returns the correction history for one value on one call of a test run, newest revision first, up to 50 entries. Corrections are written with Correct Test Run Value; only the newest revision counts as the current correction on Get Test Run Rows and in the CSV export. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/cases/{call_id}/annotations/{value_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-cases-call-id-annotations-value-id
get_disposition_test_run
ChatGPTRetrieve a test run with live progress counts. Returns one test run with its frozen definition, status, and counts. While the run is running, completedSize and failedSize are counted live from the per-call rows; once it finishes they are the final tally. Poll this endpoint after Create Disposition Test Run, then read results with Get Test Run Rows or Export Test Run CSV. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id
get_disposition_variable_catalog
ChatGPTList the agent variables a disposition can re-extract. Lists the variables the agent extracts during calls that a disposition value can re-extract from the corrected post-call transcript, read from the agent's most recently saved version. Only string, number, and boolean variables are included; json variables, and variables defined with conflicting prompts or types in different scenarios, are omitted. Entries are sorted by key, and the list is empty if the agent has no saved version. GET /v2/agents/{agent_id}/dispositions/variable-catalog. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-variable-catalog
get_enhanced_test_analytics
ChatGPTGet enhanced testing analytics including node failure heatmap, weakest link, trend analysis, and Sankey flow data. GET /v1/agent-testing/analytics/{pathwayId}/enhanced. Docs: https://docs.bland.ai/api-v1/get/agent-testing-analytics-enhanced
get_eval_agent
ChatGPTFetch a single eval agent (an LLM judge) and its current version — criterion prompt, scoring levels, target levels, weight, and modality — and render the eval-agent card. Scoped to the current organization; missing or cross-org ids 404.
get_eval_agent_template
ChatGPTFetch a single shipped eval agent template by its key. GET /v1/evals/agent-templates/{template_key}. Docs: https://docs.bland.ai/api-v1/get/evals-agent-templates-key
get_eval_agent_version
ChatGPTFetch one version of an eval agent. GET /v1/evals/agents/{eval_agent_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v1/get/evals-agents-id-versions-id
get_eval_run
ChatGPTFetch a single eval run and its per-atom verdicts, and render an eval scorecard. The run is scoped to the current organization; cross-org or missing run ids 404.
get_eval_user_template
ChatGPTFetch one of your organization's saved eval agent templates. GET /v1/evals/user-templates/{id}. Docs: https://docs.bland.ai/api-v1/get/evals-user-templates-id
get_evals_status
ChatGPTCheck whether the Evals feature is enabled for your organization. GET /v1/evals/status. Docs: https://docs.bland.ai/api-v1/get/evals-status
get_guard_rail
ChatGPTRetrieve a specific guard rail by ID. GET /v1/guard_rails/{guard_rail_id}. Docs: https://docs.bland.ai/api-v1/get/guard-rails-id
get_knowledge_base
ChatGPTRetrieves a specific knowledge base item by ID. GET /v1/knowledge/{knowledge_base_id}. Docs: https://docs.bland.ai/api-v1/get/knowledge-id
get_latest_agent_version
ChatGPTFetch an agent's latest saved version including its full native config snapshot — what the builder loads. Fails for a fresh agent with no versions yet.
get_memory_changes
ChatGPTRetrieve what memory was captured or updated during a specific call or SMS conversation. Shows the memory state before and after the interaction. GET /v1/memory/changes. Docs: https://docs.bland.ai/api-v1/get/memory-changes
get_number_voice_pool
ChatGPTList the voices in an inbound number's voice pool. Returns the voices currently in the pool for one inbound number. When a pool is set, each inbound call picks one of these voices at random. Set the pool with Set Voice Pool. GET /v1/inbound/{phone_number}/voice-pool. Docs: https://docs.bland.ai/api-v1/get/inbound-number-voice-pool
get_pathway_context
ChatGPTDEEP pathway understanding (read-only): the same semantics-explorer summaries the server-side pathway agent uses. Pass the raw graph ({ nodes, edges }) plus a scope: 'node' (+ node_id/node_name/node_slug) returns the FULL execution contract for one node — prompt/tool/loop/route/transfer contracts, operation order, dependency + stuck-reason inference, optionally include_neighbors; 'transition' (+ source_/target_ selectors) returns the routing semantics for one edge — route kind, condition, decision basis, file pointers; 'dependencies' (+ node selector) or 'pathway' returns missing user config + existing resources. Use it BEFORE editing a node or debugging routing/loop behavior — validate_pathway tells you WHAT is broken, this tells you HOW the node/edge actually executes. Nothing is persisted.
get_pathway_schema
ChatGPTReturn the AUTHORITATIVE allowed shape + enums for a structured pathway surface (read-only): a node's tools, the pathway's variables, model or unit tests, or a node/edge. Use it before authoring or editing one of these. surface is one of node_tools | variables | model | unit_tests | node | edge. For surface='node_tools', optionally pass tool_type (webhook | custom_tool | code | track) to get just that tool type's config variant instead of every variant. Returns { surface, description, json_schema, allowed_values? }. Nothing is persisted.
get_phone_number
ChatGPTRetrieve settings for your inbound phone number. GET /v1/inbound/{phone_number}. Docs: https://docs.bland.ai/api-v1/get/inbound-number
get_post_call_webhook
ChatGPTGet the post call webhook data for a specific call. Retrieve the post call webhook data for a specific call using its call ID. This endpoint returns the webhook data that was sent when the call completed. GET /v1/postcall/webhooks/{call_id}. Docs: https://docs.bland.ai/api-v1/get/postcall-webhooks-get
get_prompt
ChatGPTRetrieves data for a specific prompt_id. GET /v1/prompts/{prompt_id}. Docs: https://docs.bland.ai/api-v1/get/prompts-id
get_simulation_set
ChatGPTRetrieve a simulation set with its statistics including pass rates, flakiness detection, and score distributions. GET /v1/agent-testing/simulation-sets/{id}. Docs: https://docs.bland.ai/api-v1/get/agent-testing-simulation-sets-id
get_sms_conversation
ChatGPTRetrieve a single SMS conversation and its messages by its ID. GET /v1/sms/conversations/{id}. Docs: https://docs.bland.ai/api-v1/get/sms-conversations-id
get_sms_conversation_webhook
ChatGPTRetrieve the webhook delivery log for an SMS conversation, including the payload, URL, response codes, and timing. GET /v1/sms/conversations/{conversationId}/webhook. Docs: https://docs.bland.ai/api-v1/get/sms-conversations-webhook
get_test_analytics
ChatGPTGet basic testing analytics for a pathway over a time window. GET /v1/agent-testing/analytics/{pathwayId}. Docs: https://docs.bland.ai/api-v1/get/agent-testing-analytics
get_test_batch
ChatGPTRetrieve a test batch and all its runs. GET /v1/agent-testing/batches/{id}. Docs: https://docs.bland.ai/api-v1/get/agent-testing-batches-id
get_test_run
ChatGPTRetrieve detailed results for a specific test run including chat history, assertion results, and scores. GET /v1/agent-testing/runs/{id}. Docs: https://docs.bland.ai/api-v1/get/agent-testing-runs-id
get_test_scenario
ChatGPTRetrieve a specific test scenario with its assertions. GET /v1/agent-testing/scenarios/{id}. Docs: https://docs.bland.ai/api-v1/get/agent-testing-scenarios-id
get_triage_affected_context
ChatGPTCalls, pathways, and personas affected by an issue. Derived rollup of every call attached to an issue, grouped by pathway and persona. Powers the dashboard's Affected panel. Not paginated. GET /v1/triage/issues/{id}/affected. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id-affected
get_triage_issue
ChatGPTGet a triage issue by ID. Returns a single issue. Same shape as Create Issue. Sub-resources (resources, flags, relations, alert bindings, activity) are fetched via their own paginated endpoints. GET /v1/triage/issues/{id}. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id
get_widget
ChatGPTRetrieves a specific widget by ID. GET /v1/widget/{id}. Docs: https://docs.bland.ai/api-v1/get/widget-id
get_workbench_setup
ChatGPTFetch one workbench setup and its current draft version. GET /v1/evals/workbench-setups/{setup_id}. Docs: https://docs.bland.ai/api-v1/get/evals-workbench-setups-id
get_workbench_setup_version
ChatGPTFetch one version of a workbench setup. GET /v1/evals/workbench-setups/{setup_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v1/get/evals-workbench-setups-id-versions-id
hand_off_sms_conversation
ChatGPTPause the agent on a conversation so a human can take over the thread. POST /v1/sms/conversations/{conversation_id}/handoff. Docs: https://docs.bland.ai/api-v1/post/sms-conversations-handoff
link_triage_issue
ChatGPTLink an issue to another issue. Creates a typed link from one issue to another. Relations are directed: stored on the source issue ({id}) and outgoing to related_issue_id. The same relation appears with direction: "incoming" when listed from the target issue. POST /v1/triage/issues/{id}/relations. Docs: https://docs.bland.ai/api-v1/post/triage-issues-id-relations
list_active_calls
ChatGPTRetrieve all currently active calls for your organization. Active calls include both queued and in-progress calls that have not yet completed. GET /v1/calls/active. Docs: https://docs.bland.ai/api-v1/get/active
list_agent_branches
ChatGPTList an agent's open branches (dev workspaces). behind means dev's head moved past the branch's base, so merging requires a rebase first.
list_agent_call_disposition_runs
ChatGPTGet the latest production disposition results for up to 100 of an agent's calls, with each run's values, status, and delivery timing. Returns the disposition results for a set of the agent's calls. Use it to read what your published dispositions produced on real calls, for example to sync results into your own reporting. The dashboard's Conversations page reads the same data. GET /v2/agents/{agent_id}/dispositions/call-runs. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-call-runs
list_agent_check_runs
ChatGPTList an agent's check runs for an environment (newest first) — each run's status, per-eval verdicts, and the candidate version it scored.
list_agent_deployments
ChatGPTList an environment's deployment history (default production), newest first, with each row's version name + semver and the check run that produced it. isRollbackEligible flags production versions that aren't the current pin — the rollback candidates.
list_agent_disposition_versions
ChatGPTList a disposition's published versions, newest first. Returns the immutable versions created by Publish Disposition, highest versionNumber first, 25 per page. Page backwards with beforeVersion. Each entry carries the full frozen definition; fetch a single one with Get Disposition Version. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/versions. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-versions
list_agent_dispositions
ChatGPTList the dispositions defined on an agent. Returns every disposition on the agent, oldest first, as summary records with lifecycle state and draft and published pointers. The draft definition itself is not included; fetch it with Get Disposition Draft. Create one with Create Disposition. GET /v2/agents/{agent_id}/dispositions. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions
list_agent_environments
ChatGPTList an agent's dev/staging/production environments with the semver each is pinned to (dev is always live/unpinned).
list_agent_experiments
ChatGPTList an agent's experiments, newest first. Returns every experiment on the agent, active and completed, newest first. At most one is active. An active experiment whose ends_at has passed is completed with date_ended before it is returned, so the list never reports a stale active experiment. For a single experiment with its live progress, use Get Experiment. GET /v2/agents/{agent_id}/experiments. Docs: https://docs.bland.ai/api-v2/get/agents-id-experiments
list_agent_variables
ChatGPTList an environment's variables for an agent (plain key→value pairs).
list_agent_versions
ChatGPTList an agent's saved version history (metadata only — no snapshots), newest first.
list_agents
ChatGPTList the organization's agents (the /v2 agents model), most recently updated first. Soft-deleted agents are excluded.
list_archived_nodes
ChatGPTList nodes archived from your organization's agents. Returns the organization's archived nodes, newest first, up to 200 entries. Each entry is a self-contained copy of a node lifted off an agent canvas with Archive Agent Node; a container node keeps its nested flow inside node.data.flow. Remove an entry with Delete Archived Node. GET /v2/agents/library/archived-nodes. Docs: https://docs.bland.ai/api-v2/get/agents-library-archived-nodes
list_batches
ChatGPTRetrieve a list of all batches created by your organization. GET /v2/batches/list. Docs: https://docs.bland.ai/api-v2/get/batches
list_block_rules
ChatGPTRetrieve block rules associated with your inbound numbers. GET /v1/blocked_numbers. Docs: https://docs.bland.ai/api-v1/get/blocked-numbers
list_calls
ChatGPTReturns a set of metadata for each call dispatched by your account. GET /v1/calls. Docs: https://docs.bland.ai/api-v1/get/calls
list_contact_memory_messages
ChatGPTRetrieve the recent message history for a contact memory. Returns cross-channel messages (voice and SMS) in chronological order. GET /v1/memory/contact/{memory_id}/messages. Docs: https://docs.bland.ai/api-v1/get/memory-contact-id-messages
list_contacts
ChatGPTList all contacts for your organization. Each contact includes identifiers, contact_memories (per persona/agent), and memory entities. Paginated. GET /v1/contacts. Docs: https://docs.bland.ai/api-v1/get/contacts
list_disposition_test_run_rows
ChatGPTPage through a test run's per-call results. Returns one row per call in the test run, with each value's result, the transformed payload, and the latest correction saved for each value. Rows are paged with limit and offset. For a flat file of the same data use Export Test Run CSV; to record a correction use Correct Test Run Value. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/rows. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-rows
list_disposition_test_runs
ChatGPTList test runs for a disposition. Returns the disposition's test runs, newest first, each with its frozen definition, progress counts, and a summary computed from its per-call rows. Start one with Create Disposition Test Run; read a single run's live state with Get Disposition Test Run. GET /v2/agents/{agent_id}/dispositions/{disposition_id}/runs. Docs: https://docs.bland.ai/api-v2/get/agents-id-dispositions-disposition-id-runs
list_eval_agent_templates
ChatGPTList the read-only library of shipped eval agent templates. GET /v1/evals/agent-templates. Docs: https://docs.bland.ai/api-v1/get/evals-agent-templates
list_eval_agent_versions
ChatGPTList all versions of an eval agent. GET /v1/evals/agents/{eval_agent_id}/versions. Docs: https://docs.bland.ai/api-v1/get/evals-agents-id-versions
list_eval_agents
ChatGPTList the organization's eval agents (LLM judges), each with its latest-run target-hit summary, and render the eval-agent list. Selecting a row opens that specific agent via get_eval_agent.
list_eval_run_agent_results
ChatGPTList every individual judge verdict in an eval run. GET /v1/evals/runs/{run_id}/agent-results. Docs: https://docs.bland.ai/api-v1/get/evals-runs-id-agent-results
list_eval_run_agent_snapshots
ChatGPTList the frozen agent configurations a run scored against. GET /v1/evals/runs/{run_id}/agent-snapshots. Docs: https://docs.bland.ai/api-v1/get/evals-runs-id-agent-snapshots
list_eval_run_call_results
ChatGPTList the per-call results for an eval run. GET /v1/evals/runs/{run_id}/call-results. Docs: https://docs.bland.ai/api-v1/get/evals-runs-id-call-results
list_eval_runs
ChatGPTList eval runs in your organization, with optional filters. GET /v1/evals/runs. Docs: https://docs.bland.ai/api-v1/get/evals-runs
list_eval_user_templates
ChatGPTList your organization's saved eval agent templates. GET /v1/evals/user-templates. Docs: https://docs.bland.ai/api-v1/get/evals-user-templates
list_guard_rails
ChatGPTRetrieve a list of all guard rails in your organization. GET /v1/guard_rails. Docs: https://docs.bland.ai/api-v1/get/guard-rails
list_knowledge_bases
ChatGPTRetrieves a paginated list of knowledge base items for the authenticated organization. GET /v1/knowledge. Docs: https://docs.bland.ai/api-v1/get/knowledge
list_library_scenarios
ChatGPTList reusable scenarios from your other agents. Returns the top-level scenario and auth nodes from the newest saved version of each agent in your organization, grouped per agent, with the full node payload inline so you can insert one into another agent's graph and save it with Create Agent Version. Agents with no saved version or no scenarios are omitted from the results. For nodes you have retired from a canvas, see List Archived Nodes. GET /v2/agents/library/scenarios. Docs: https://docs.bland.ai/api-v2/get/agents-library-scenarios
list_phone_numbers
ChatGPTRetrieves a list of all inbound phone numbers configured for your account, along with their associated settings. GET /v1/inbound. Docs: https://docs.bland.ai/api-v1/get/inbound
list_prompts
ChatGPTRetrieves all your saved prompts. GET /v1/prompts. Docs: https://docs.bland.ai/api-v1/get/prompts
list_sms_conversations
ChatGPTRetrieve a paginated list of SMS conversations for the authenticated user, with filtering, sorting, and metadata. GET /v1/sms/conversations. Docs: https://docs.bland.ai/api-v1/get/sms-conversations
list_sms_numbers
ChatGPTRetrieve all phone numbers configured for SMS, along with their configuration and conversation counts. Pass ?channel=whatsapp or ?channel=imessage to return WhatsApp or iMessage configurations instead of SMS. GET /v1/sms/numbers. Docs: https://docs.bland.ai/api-v1/get/sms-numbers
list_test_runs
ChatGPTList test runs with optional filtering and pagination. GET /v1/agent-testing/runs. Docs: https://docs.bland.ai/api-v1/get/agent-testing-runs
list_test_scenarios
ChatGPTList all test scenarios for your organization. GET /v1/agent-testing/scenarios. Docs: https://docs.bland.ai/api-v1/get/agent-testing-scenarios
list_triage_activity
ChatGPTActivity feed for an issue. Reverse-chronological feed of issue events and Norm session events. Each entry is either entry_kind: "issue" (status changes, attachments, flags, comments, etc.) or entry_kind: "agent" (Norm session events with optional artifacts). GET /v1/triage/issues/{id}/activity. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id-activity
list_triage_categories
ChatGPTList issue categories. Returns the org's category catalog. Built-in defaults (Transcription, Speech, Dialogue, Routing, Tools, Latency, Telephony, Bug) use IDs like built-in: . Custom categories created with Create Category use a UUID. Sorted alphabetically, so next_cursor is the name of the last item. GET /v1/triage/categories. Docs: https://docs.bland.ai/api-v1/get/triage-categories
list_triage_flag_types
ChatGPTList reusable flag types in your org. Catalog of flag types your org has used, with usage counts and the most recent note for each. Use it to render a flag-type picker. Types are normalized to lower_snake_case before storage. GET /v1/triage/flag-types. Docs: https://docs.bland.ai/api-v1/get/triage-flag-types
list_triage_flags
ChatGPTList flags on an issue. Returns the flags filed on this issue. Same shape as Add Flag. GET /v1/triage/issues/{id}/flags. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id-flags
list_triage_issues
ChatGPTList triage issues with filters and keyset pagination. Lists triage issues for your org. Items have the same shape as Create Issue. The same filters power the Triage dashboard sidebar. GET /v1/triage/issues. Docs: https://docs.bland.ai/api-v1/get/triage-issues
list_triage_norm_agents
ChatGPTList triage agent profiles. Returns the triage agent profiles available to your org. Today this is a single built-in profile, Norm. The endpoint exists for forward compatibility. GET /v1/triage/agents. Docs: https://docs.bland.ai/api-v1/get/triage-agents
list_triage_relations
ChatGPTList relations on an issue. Returns the relations to and from this issue. Each item carries direction (outgoing or incoming) and the related issue's triage_id and title denormalized for display. GET /v1/triage/issues/{id}/relations. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id-relations
list_triage_resources
ChatGPTList resources attached to an issue. Returns the resources currently attached. Same shape as Attach Resource. For a rollup of calls, pathways, and personas, use Get Affected Context. GET /v1/triage/issues/{id}/resources. Docs: https://docs.bland.ai/api-v1/get/triage-issues-id-resources
list_voices
ChatGPTReturns Bland's curated voices on its current, recommended voice generation, for choosing a voice for outbound calls (voice on create_call or POST /v1/calls), personas (call_config.voice), inbound numbers, and pathways. Each voice has a description and tags to match against what the user asked for; pass its id as the voice. Every result carries service, the same value as model_id on GET /v1/models, so you can tell a current-generation voice from an older one when other catalog reads are in play. A voice not listed here, such as a cloned voice, is still valid by its name or id. Omitting voice on create_call uses Karen.
list_widget_custom_components
ChatGPTList the custom widget components in your organization that have not been deleted. GET /v1/widget/custom_components. Docs: https://docs.bland.ai/api-v1/get/widget-custom-components
list_widget_threads
ChatGPTRetrieves all conversation threads for a specific widget. Returns threads ordered by creation date (newest first) with associated messages ordered chronologically. GET /v1/widget/{id}/threads. Docs: https://docs.bland.ai/api-v1/get/widget-id-threads
list_widgets
ChatGPTRetrieves all widgets associated with your account. GET /v1/widgets. Docs: https://docs.bland.ai/api-v1/get/widgets
list_workbench_setup_versions
ChatGPTList all versions of a workbench setup. GET /v1/evals/workbench-setups/{setup_id}/versions. Docs: https://docs.bland.ai/api-v1/get/evals-workbench-setups-id-versions
list_workbench_setups
ChatGPTList the workbench setups in your organization. GET /v1/evals/workbench-setups. Docs: https://docs.bland.ai/api-v1/get/evals-workbench-setups
mark_triage_issue_viewed
ChatGPTMark an issue as viewed by the calling user. Records the calling user's view at the current time. Clears has_unread_activity on subsequent fetches for this user. View timestamps are per-user, so each org member has their own unread state. PUT /v1/triage/issues/{id}/view. Docs: https://docs.bland.ai/api-v1/put/triage-issues-id-view
merge_agent_branch
ChatGPTMerge an open branch into dev (fast-forward only): squashes the branch head into one new dev version and archives the branch. Fails if dev moved past the branch's base — rebase first.
merge_contacts
ChatGPTMerge two contacts into one. All data from the duplicate contact is moved to the primary contact, and the duplicate is deleted. POST /v1/contacts/merge. Docs: https://docs.bland.ai/api-v1/post/contacts-merge
promote_agent
ChatGPTPromote an agent to production, carrying the version's original semver. Omit versionId to pin production to whatever staging currently points at; provide versionId to take that exact version (dev timeline or open branch) live in one step, repointing staging to it as well and minting a semver if it never had one. The current saved evaluation policy is enforced unless force is set; run current required evaluations first.
publish_agent
ChatGPTPublish an agent to staging (dev→staging). Provide snapshot to save it as a new immutable version and pin staging; provide versionId to publish an existing version; provide neither to publish the dev head. A brand-new version mints the next semver for the chosen bump; a version that already has a semver re-records it. Returns the version, its semver, and updated environments.
publish_agent_disposition
ChatGPTPublish a disposition draft as an immutable version. Freezes the current draft into a new immutable version, points publishedVersionId at it, and sets state to enabled so the disposition runs on every new completed call. Publishing validates strictly: every value must pin a published judge or extractor version, and the definition must have at least one value. Call Estimate Disposition Cost first and pass its id; publish recomputes the estimate and refuses if anything moved. Undo with Disable Disposition. POST /v2/agents/{agent_id}/dispositions/{disposition_id}/publish. Docs: https://docs.bland.ai/api-v2/post/agents-id-dispositions-disposition-id-publish
publish_eval_agent
ChatGPTPublish the agent's current draft as a new active version. POST /v1/evals/agents/{eval_agent_id}/publications. Docs: https://docs.bland.ai/api-v1/post/evals-agents-id-publish
publish_workbench_setup
ChatGPTPublish the setup's current draft as a new active version. POST /v1/evals/workbench-setups/{setup_id}/publications. Docs: https://docs.bland.ai/api-v1/post/evals-workbench-setups-id-publish
query_analytics
ChatGPTQuery call analytics data using structured parameters. Returns aggregated metrics with optional grouping, filtering, and time ranges, and renders an analytics panel. All queries are automatically scoped to the current organization.
rebase_agent_branch
ChatGPTRebase a branch onto the dev head from a rebase preview: apply the three-way merge with the given per-conflict resolutions, save the result as a new branch version, and move the branch's base to that dev head. Merge afterwards.
rebase_preview_agent_branch
ChatGPTDry-run merging a branch onto the current dev head: three-way diff (branch base vs dev vs branch head) listing the dev-side changes that merge in cleanly and the fields that conflict. Read-only.
remove_agent_check_eval
ChatGPTDrop one eval from an environment's promotion checks. Removes a single eval from the checks that gate promotion into an environment, leaving the rest of the roster in place. Use Set Agent Checks to replace the whole roster instead, or Delete Agent Checks to clear it. DELETE /v2/agents/{agent_id}/environments/{env}/checks/evals/{eval_agent_id}. Docs: https://docs.bland.ai/api-v2/delete/agents-id-environments-env-checks-evals-eval-agent-id
remove_triage_flag
ChatGPTRemove a flag from an issue. Deletes a flag. The underlying call is unaffected. The flag's type stays in the Flag Types catalog if other flags of the same type still exist. DELETE /v1/triage/issues/{id}/flags/{flag_id}. Docs: https://docs.bland.ai/api-v1/delete/triage-issues-id-flags-flag-id
remove_triage_relation
ChatGPTRemove a relation. Removes a relation between two issues. Can be called from either side. DELETE /v1/triage/issues/{id}/relations/{relation_id}. Docs: https://docs.bland.ai/api-v1/delete/triage-issues-id-relations-relation-id
remove_triage_resource
ChatGPTDetach a resource from an issue. Detaches a resource link from an issue. The underlying call, SMS conversation, or file is unaffected. Pass the resource link id, not the underlying resource_id. To detach a call by call_id instead, use Detach Call. DELETE /v1/triage/issues/{id}/resources/{resource_link_id}. Docs: https://docs.bland.ai/api-v1/delete/triage-issues-id-resources-resource-link-id
rename_agent
ChatGPTRename an agent (the /v2 agents model).
resend_post_call_webhooks
ChatGPTResend post call webhooks for specified calls. Resend post call webhooks for one or more call IDs. This endpoint allows you to manually trigger a resend of webhooks that were previously sent when calls completed. This endpoint can only re-send webhooks that were previously sent when calls completed. Webhooks will be re-sent to the same URL they were previously sent to. POST /v1/postcall/webhooks/resend. Docs: https://docs.bland.ai/api-v1/post/postcall-webhooks-resend
reset_contact_memory
ChatGPTPermanently delete all memory for a contact scoped to a specific persona or agent number. All conversation history, facts, summaries, and entities for that pair are removed. This cannot be undone. POST /v1/memory/reset. Docs: https://docs.bland.ai/api-v1/post/memory-reset
resolve_contact
ChatGPTFind an existing contact or create a new one. POST /v1/contacts/resolve. Docs: https://docs.bland.ai/api-v1/post/contacts-resolve
resume_sms_conversation
ChatGPTHand a conversation back to the agent after a human handoff. POST /v1/sms/conversations/{conversation_id}/resume. Docs: https://docs.bland.ai/api-v1/post/sms-conversations-resume
rollback_agent
ChatGPTRoll an agent's production back to a previously-deployed version: repoint production and re-record that version's original semver (never mints). Fails if the version was never deployed to production or is already the current pin.
run_test_scenario
ChatGPTExecute a single test scenario. Returns immediately with a run ID while the test executes asynchronously. POST /v1/agent-testing/scenarios/{id}/run. Docs: https://docs.bland.ai/api-v1/post/agent-testing-scenarios-run
save_agent_version
ChatGPTSave an agent's native config as an immutable version snapshot (the builder's Save). Versions carry no number — a semver is minted when the version is published; naming a version pins it forever. The snapshot must be the full {behavior, settings, contact} agent config.
save_code_snippet
ChatGPTCreate a JavaScript custom-code snippet, or save new code to an existing one. Without snippet_id it creates the snippet (version 1, name required); with snippet_id it saves code as that snippet's next version. Returns snippetId, the version just written, and the snippet's name. A tool runs a snippet through integration custom-code, action run_snippet, with { snippet_id, snippet_version }. Pin snippet_version to the returned version: a tool that omits it runs whatever version is latest, so saving a new version changes what those tools run on live calls.
search_bland_docs
ChatGPTSearch the Bland API documentation (docs.bland.ai). Returns matching doc pages (title, url, description). Use get_bland_doc to read a page in full, then use a tool available in this connection that supports the requested operation.
send_call
ChatGPTSend an AI phone call with a custom objective and actions. Takes every POST /v1/calls field. Run the call through exactly one of agent_id (a dashboard agent), persona_id, pathway_id or task, and ask the user which one when they have not said. The caller ID (from) never selects an agent. POST /v1/calls. Docs: https://docs.bland.ai/api-v1/post/calls
send_sms
ChatGPTSend an SMS message from an agent to a user. This creates or resumes a conversation and triggers processing workflows. POST /v1/sms/send. Docs: https://docs.bland.ai/api-v1/post/sms-send
send_sms_batch
ChatGPTSend SMS messages to a large list of recipients from a pre-uploaded CSV file. Processing is handled asynchronously via a background workflow. POST /v1/sms/batch. Docs: https://docs.bland.ai/api-v1/post/sms-batch
send_sms_conversation_message
ChatGPTSend a message on an existing conversation from the agent number, as a human rep or as the agent. POST /v1/sms/conversations/{conversation_id}/messages. Docs: https://docs.bland.ai/api-v1/post/sms-conversations-messages
send_widget_live_agent_message
ChatGPTSend a message from a live agent to the user, or end the conversation. POST /v1/widget/{id}/threads/{thread_id}/webhook. Docs: https://docs.bland.ai/api-v1/post/widget-thread-webhook
set_agent_check_config
ChatGPTCreate or fully replace an agent's production check config: which evals score the candidate (with their passing levels + required flag — a required judge blocks the promotion when it fails), which scenarios drive the simulated conversations, and how many conversations per scenario. Validates that scenarios belong to the agent and every eval version is runnable.
set_agent_variable
ChatGPTCreate or update one environment variable for an agent. Set isSecret to store the value in the secret store and keep only a {{SECRET.NAME}} reference on the variable.
set_disposition_test_annotation
ChatGPTRecord a corrected value for one call in a test run. Saves what the correct result should have been for one value on one call of a finished test run. Corrections are append-only: the engine's original result is never modified, and each call to this endpoint adds a new revision for that call and value. The run must be in a terminal status (complete, partial, or failed). Corrections show up on Get Test Run Rows, in the CSV export, and feed Align Disposition Test Run. An organization may submit at most 300 corrections per hour. PUT /v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/cases/{call_id}/annotations/{value_id}. Docs: https://docs.bland.ai/api-v2/put/agents-id-dispositions-disposition-id-runs-run-id-cases-call-id-annotations-value-id
set_memory_enabled
ChatGPTEnable or disable memory for a pathway or persona version. POST /v1/memory/enable. Docs: https://docs.bland.ai/api-v1/post/memory-enable
set_number_voice_pool
ChatGPTReplace the voice pool on an inbound number. Sets the voices an inbound number rotates through. Each inbound call picks one voice from the pool at random, so the same number can answer in a different voice each time. POST /v1/inbound/{phone_number}/voice-pool. Docs: https://docs.bland.ai/api-v1/post/inbound-number-voice-pool
start_agent_check_run
ChatGPTStart a standalone check run: the environment's configured judges score simulated conversations against a candidate version (default: what a promotion into this env would deploy). Poll get_agent_check_run until terminal — PASSED means every required judge passed. Runs never move environment pointers; gate your own publish/promote on the outcome.
stop_agent_experiment
ChatGPTEnd an active experiment and return traffic to baseline. Completes an active experiment with completed_reason: "manual". Eligible calls immediately return to the baseline pin, and the final variant_calls_routed count is frozen on the record. Completion is permanent: a stopped experiment cannot be resumed, so use Create Experiment to test again. Returns 409 CONFLICT if the experiment is already completed for any reason. POST /v2/agents/{agent_id}/experiments/{experiment_id}/stop. Docs: https://docs.bland.ai/api-v2/post/agents-id-experiments-experiment-id-stop
stop_batch
ChatGPTStop a batch that is currently running or scheduled. POST /v2/batches/{batch_id}/stop. Docs: https://docs.bland.ai/api-v2/post/batches-id-stop
stop_call
ChatGPTEnd a call that is in progress, or cancel one that is still queued. This hangs up on the person being called, so confirm with the user first. Scoped to the current organization.
update_agent_disposition_draft
ChatGPTReplace a disposition's draft definition. Replaces the whole draft definition. The write is guarded by the draft revision: pass the revision you read from Get Disposition Draft as expectedDraftRevision, and the call returns 409 if someone else saved first. Editing the draft never affects the published version or calls already running; publish with Publish Disposition to make changes live. PATCH /v2/agents/{agent_id}/dispositions/{disposition_id}/draft. Docs: https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft
update_agent_experiment
ChatGPTAdjust an active experiment's split or conditions. Changes an active experiment's traffic split, schedule, dates, or quota. The variant and baseline are fixed for the experiment's life; to test a different version, stop it and create a new one. Only the fields below are accepted: any other key returns 400 BAD_REQUEST, and so does an empty body. Completed experiments cannot be edited and return 409 CONFLICT, as does a second update that arrives while one is still being applied (retry it). PATCH /v2/agents/{agent_id}/experiments/{experiment_id}. Docs: https://docs.bland.ai/api-v2/patch/agents-id-experiments-experiment-id
update_contact
ChatGPTUpdate an existing contact's information. PATCH /v1/contacts/{contact_id}. Docs: https://docs.bland.ai/api-v1/patch/contacts-id
update_contact_memory_facts
ChatGPTMerge new facts into a contact's memory record. Existing keys are updated and new keys are added, but no keys are deleted. Facts are structured key-value pairs (e.g. name, plan, timezone) that persist across all conversations. PATCH /v1/memory/contact/{memory_id}/facts. Docs: https://docs.bland.ai/api-v1/patch/memory-contact-id-facts
update_contact_memory_summary
ChatGPTOverwrite the conversation summary for a contact memory. The summary is a plain-text overview of past interactions that the agent uses for context at the start of each conversation. PATCH /v1/memory/contact/{memory_id}/summary. Docs: https://docs.bland.ai/api-v1/patch/memory-contact-id-summary
update_eval_agent
ChatGPTUpdate an eval agent's metadata or repoint its active version. PATCH /v1/evals/agents/{eval_agent_id}. Docs: https://docs.bland.ai/api-v1/patch/evals-agents-id
update_eval_agent_version
ChatGPTEdit a draft version's prompt, levels, targets, or weight. PATCH /v1/evals/agents/{eval_agent_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v1/patch/evals-agents-id-versions-id
update_eval_user_template
ChatGPTUpdate a saved eval agent template. The source pointers cannot be changed. PATCH /v1/evals/user-templates/{id}. Docs: https://docs.bland.ai/api-v1/patch/evals-user-templates-id
update_guard_rail
ChatGPTUpdate an existing guard rail configuration. PATCH /v1/guard_rails/{guard_rail_id}. Docs: https://docs.bland.ai/api-v1/patch/guard-rails-id
update_inbound_number
ChatGPTUpdate your inbound agent's settings, prompt and other details. Send only the fields to change. Send prompt only to replace the prompt: any prompt, even an empty one, detaches the number's pathway unless pathway_id is sent with it. POST /v1/inbound/{phone_number}. Docs: https://docs.bland.ai/api-v1/post/inbound-number-update
update_knowledge_base
ChatGPTUpdates a knowledge base item's name and/or description. PUT /v1/knowledge/{knowledge_base_id}. Docs: https://docs.bland.ai/api-v1/put/knowledge-id
update_sms_conversation
ChatGPTUpdates properties of an existing SMS conversation. PATCH /v1/sms/conversations/{conversation_id}. Docs: https://docs.bland.ai/api-v1/patch/sms-conversations-id
update_sms_number_config
ChatGPTUpdate the SMS configuration for a phone number owned by the authenticated user. POST /v1/sms/number/update. Docs: https://docs.bland.ai/api-v1/post/sms-update
update_test_scenario
ChatGPTUpdate an existing test scenario. If assertions are provided, they replace all existing assertions. PUT /v1/agent-testing/scenarios/{id}. Docs: https://docs.bland.ai/api-v1/put/agent-testing-scenarios-id
update_triage_issue
ChatGPTUpdate a triage issue. All fields optional. Partial update. Send only the fields you want to change. Pass null for owner_id or assignee_id to clear them. Returns the full updated issue. PATCH /v1/triage/issues/{id}. Docs: https://docs.bland.ai/api-v1/patch/triage-issues-id
update_widget
ChatGPTUpdates an existing widget. All fields in the request body are optional. PATCH /v1/widget/{id}. Docs: https://docs.bland.ai/api-v1/patch/widget-id
update_widget_custom_component
ChatGPTUpdate a custom widget component by ID. Replaces the supplied widget, pathway, node, dimensions, variables, or iframe URL fields; omitted fields stay unchanged. PATCH /v1/widget/custom_components/{id}. Docs: https://docs.bland.ai/api-v1/patch/widget-custom-components-id
update_workbench_setup
ChatGPTUpdate a workbench setup's metadata or repoint its active version. PATCH /v1/evals/workbench-setups/{setup_id}. Docs: https://docs.bland.ai/api-v1/patch/evals-workbench-setups-id
update_workbench_setup_version
ChatGPTEdit a draft version's attached agents, threshold, run mode, or default calls. PATCH /v1/evals/workbench-setups/{setup_id}/versions/{version_id}. Docs: https://docs.bland.ai/api-v1/patch/evals-workbench-setups-id-versions-id
upload_knowledge_file
ChatGPTAdd a file to the organization's knowledge base from an https URL: the server downloads it (20 MB max; pdf, docx, xlsx, txt, md, csv or json, checked by content) and creates a FILE source. Returns the new source's id with status PROCESSING. Indexing runs in the background: poll GET /v1/knowledge/:id (bland_api_get) until its status is COMPLETED or FAILED before attaching it to an agent. Only one upload per organization runs at a time (error kb_upload_rate_limited: wait about 10 seconds and retry), and each plan caps the number of sources (kb_upload_limit_exceeded).
validate_pathway
ChatGPTAUTHORITATIVE Bland pathway compiler (read-only). Pass the raw graph you are about to commit ({ nodes, edges }, optional requestData) and it runs the full Layer-2 compile: start/end/reachability/dead-end structural checks, routing/loop/dialogue/tool-input runtime contracts, and per-node semantics. Returns { valid, errors, warnings, stats, runtime_contract_findings, semantics_summary }. Nothing is persisted — validate BEFORE committing. CHANGE-AWARE: additionally pass baseline (the graph before your edit) to diff your edit against it — the response then also carries introduced_errors, introduced_warnings and a validation_delta_summary (current vs introduced vs pre-existing counts), and the runtime_contract_findings your edit caused are flagged relevant_to_changes=true ([NEW FROM YOUR CHANGES]) so you can tell what YOU broke from what was already broken. Omit baseline for plain whole-graph validation.
wait_for_call
ChatGPTWait for a call to finish, then return its call-log — use this instead of polling get_call_log in a loop. Holds the request open for up to timeoutSeconds (default 30, max 45) and returns the moment the call reaches a terminal state. The call is finished when status is one of: completed, failed, error, no-answer, busy, canceled, cancelled — or when errorMessage is set. Timing out is not an error: you get the call-log as it stands, and a call-log showing none of those is still running — call again to keep waiting. Scoped to the current organization.