Get Active Tornado Session
curl --request GET \
--url https://api.bland.ai/v1/agent-testing/tornado/active \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/agent-testing/tornado/active"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/agent-testing/tornado/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/agent-testing/tornado/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/agent-testing/tornado/active"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/agent-testing/tornado/active")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/agent-testing/tornado/active")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"session_id": "e1f2a3b4-5678-9cde-f012-3456789abcde",
"status": "RUNNING",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"current_iteration": 2,
"max_iterations": 5,
"total_scenarios": 4,
"passed_scenarios": 2,
"failed_scenarios": 2,
"created_at": "2026-04-14T10:15:00.000Z"
}
Tornado Mode
Get Active Tornado Session
Get the currently active tornado session for a pathway.
GET
/
v1
/
agent-testing
/
tornado
/
active
Get Active Tornado Session
curl --request GET \
--url https://api.bland.ai/v1/agent-testing/tornado/active \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/agent-testing/tornado/active"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/agent-testing/tornado/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/agent-testing/tornado/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/agent-testing/tornado/active"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/agent-testing/tornado/active")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/agent-testing/tornado/active")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"session_id": "e1f2a3b4-5678-9cde-f012-3456789abcde",
"status": "RUNNING",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"current_iteration": 2,
"max_iterations": 5,
"total_scenarios": 4,
"passed_scenarios": 2,
"failed_scenarios": 2,
"created_at": "2026-04-14T10:15:00.000Z"
}
Headers
string
required
Your API key for authentication.
Query Parameters
string
Filter by pathway. Either
pathway_id or persona_id is required.string
Filter by persona. Either
pathway_id or persona_id is required.Response
string
The unique identifier for the tornado session.
string
Current status of the session. Will be
RUNNING for active sessions.string
The pathway being tested and fixed.
string
The persona ID (null if testing a pathway directly).
integer
The current fix iteration number.
integer
The maximum number of fix iterations configured.
integer
Total number of scenarios being tested.
integer
Number of scenarios currently passing.
integer
Number of scenarios currently failing.
string
ISO 8601 timestamp of when the session was created.
404 Not Found if no active tornado session exists for the specified pathway or persona.
{
"session_id": "e1f2a3b4-5678-9cde-f012-3456789abcde",
"status": "RUNNING",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"current_iteration": 2,
"max_iterations": 5,
"total_scenarios": 4,
"passed_scenarios": 2,
"failed_scenarios": 2,
"created_at": "2026-04-14T10:15:00.000Z"
}
Docs for agents: llms.txt
Was this page helpful?