Skip to main content
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>'
{
  "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

authorization
string
required
Your API key for authentication.

Query Parameters

pathway_id
string
Filter by pathway. Either pathway_id or persona_id is required.
persona_id
string
Filter by persona. Either pathway_id or persona_id is required.

Response

session_id
string
The unique identifier for the tornado session.
status
string
Current status of the session. Will be RUNNING for active sessions.
pathway_id
string
The pathway being tested and fixed.
persona_id
string
The persona ID (null if testing a pathway directly).
current_iteration
integer
The current fix iteration number.
max_iterations
integer
The maximum number of fix iterations configured.
total_scenarios
integer
Total number of scenarios being tested.
passed_scenarios
integer
Number of scenarios currently passing.
failed_scenarios
integer
Number of scenarios currently failing.
created_at
string
ISO 8601 timestamp of when the session was created.
Returns 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"
}