Skip to main content
GET
/
ai
/
assistants
/
tests
/
test-suites
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const testSuites = await client.ai.assistants.tests.testSuites.list();

console.log(testSuites.data);
{
  "data": [
    "customer-support",
    "sales-flow",
    "onboarding"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Returns an array of unique test suite names for filtering and organization

Response containing all available test suite names.

Returns a list of distinct test suite names that can be used for filtering and organizing tests.

data
string[]
required

Array of unique test suite names available to the user.

Example:
[
"customer-support",
"sales-flow",
"onboarding"
]