List conversation quality records
List per-call quality records of AI Assistant voice calls, newest call first, filtered by assistant, assistant version and the time the call ended. See Call quality signals for definitions.
GET
/
ai
/
conversations
/
quality
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.ai.conversations.quality.list()) {
console.log(response);
}import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.ai.conversations.quality.list()
print(page.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
quality, err := client.AI.Conversations.Quality.List(context.TODO())
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", quality.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.ai().conversations().quality().list();
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.ai.conversations.quality.list
puts(page)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->ai->conversations->quality->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx ai:conversations:quality list \
--api-key 'My API Key'curl --request GET \
--url https://api.telnyx.com/v2/ai/conversations/quality \
--header 'Authorization: Bearer <token>'{
"data": [
{
"conversation_id": "1d3c7b9a-5e2f-4a61-8b0d-7c9e2f4a6b13",
"assistant_id": "assistant-6fa1f2b4-1b2c-4d3e-9f10-2a3b4c5d6e7f",
"assistant_version_id": "20250812T114318034399",
"started_at": "2026-11-20T12:00:00Z",
"ended_at": "2026-11-20T12:01:05Z",
"duration_ms": 65000,
"time_to_first_speech_ms": 1250,
"response_latency_p50_ms": 820,
"response_latency_p95_ms": 1900,
"user_turn_count": 6,
"assistant_turn_count": 7,
"end_reason": "assistant_hangup",
"error_count": 0,
"stt_failure": false,
"llm_failure": false,
"tts_failure": false,
"loop_detected": false,
"max_repeated_replies": 1,
"silence_timeout_count": 1,
"task_success": true
}
],
"meta": {
"total_pages": 1,
"total_results": 1,
"page_number": 1,
"page_size": 20
}
}{
"errors": [
{
"code": "10015",
"title": "Bad Request",
"detail": "Invalid value for ended_at[gte]"
}
]
}Authorizations
Query Parameters
Was this page helpful?
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.ai.conversations.quality.list()) {
console.log(response);
}import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.ai.conversations.quality.list()
print(page.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
quality, err := client.AI.Conversations.Quality.List(context.TODO())
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", quality.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.ai().conversations().quality().list();
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.ai.conversations.quality.list
puts(page)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->ai->conversations->quality->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx ai:conversations:quality list \
--api-key 'My API Key'curl --request GET \
--url https://api.telnyx.com/v2/ai/conversations/quality \
--header 'Authorization: Bearer <token>'{
"data": [
{
"conversation_id": "1d3c7b9a-5e2f-4a61-8b0d-7c9e2f4a6b13",
"assistant_id": "assistant-6fa1f2b4-1b2c-4d3e-9f10-2a3b4c5d6e7f",
"assistant_version_id": "20250812T114318034399",
"started_at": "2026-11-20T12:00:00Z",
"ended_at": "2026-11-20T12:01:05Z",
"duration_ms": 65000,
"time_to_first_speech_ms": 1250,
"response_latency_p50_ms": 820,
"response_latency_p95_ms": 1900,
"user_turn_count": 6,
"assistant_turn_count": 7,
"end_reason": "assistant_hangup",
"error_count": 0,
"stt_failure": false,
"llm_failure": false,
"tts_failure": false,
"loop_detected": false,
"max_repeated_replies": 1,
"silence_timeout_count": 1,
"task_success": true
}
],
"meta": {
"total_pages": 1,
"total_results": 1,
"page_number": 1,
"page_size": 20
}
}{
"errors": [
{
"code": "10015",
"title": "Bad Request",
"detail": "Invalid value for ended_at[gte]"
}
]
}