import type * as ElevenLabs from "../index"; export interface CreateResponseUnitTestRequest { /** Metadata of a conversation this test was created from (if applicable). */ fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput; /** Dynamic variables to replace in the agent config during testing */ dynamicVariables?: Record; chatHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[]; /** Simulate the test as if the conversation originated from this channel. */ conversationInitiationSource?: ElevenLabs.ConversationInitiationSource; /** The environment to resolve environment-specific variable values against when running this test (URL, headers, auth connections). If not provided, defaults to 'production'. For simulation tests, simulation_environment takes precedence when set. */ environment?: string; /** A prompt that evaluates whether the agent's response is successful. Should return True or False. */ successCondition?: string; /** Non-empty list of example responses that should be considered successful */ successExamples?: ElevenLabs.AgentSuccessfulResponseExample[]; /** Non-empty list of example responses that should be considered failures */ failureExamples?: ElevenLabs.AgentFailureResponseExample[]; name: string; /** The ID of the parent folder. If not provided, the test will be created at the root level. */ parentFolderId?: string; }