get_test_cases

Retrieves test cases configured for an AI Agent. Supports listing all test cases, filtering by name, retrieving full details for a single test case, and grouping by channel.

Example prompts

  • “Show me all test cases on our Agent.”
  • “Find test cases whose name mentions ‘refund’.”
  • “Group my test cases by channel so I can see Voice vs. Chat coverage.”

Parameters

ParameterTypeDescription
test_case_idstringOptional. Return full details for a single test case.
name_filterstringOptional. Case-insensitive substring match against test case names.
group_bystringOptional. Set to channel to group the response by channel.

Response

When listing:

  • Test case ID and name.
  • Channel.
  • Message.
  • Evaluation criteria.
  • Last-updated timestamp.

When requesting a single test case by ID, the full test case definition is returned including any expected outcomes and metadata.