일괄 테스트 제품군을 실행하고 결과를 가져오는 데 사용됩니다. 이 API는 테스트 프로세스만 시작합니다. 일괄 테스트 실행 상태 API를 사용하여 일괄 테스트 결과를 봅니다.
이 API를 사용하려면 앱은 일괄 테스트 실행의 봇 빌더 범위가 필요합니다.
POST https://{{host}}/api/public/bot/{{BotID}}/testsuite/{testSuiteName}/run
쿼리 매개 변수
| 매개 변수 | 설명 | 
|---|---|
| host | 환경 URL(예: https://bots.kore.ai | 
| BotID | 봇 ID 또는 스트림 ID. 봇의 일반 설정 페이지에서 이를 액세스할 수 있습니다. | 
| testSuiteName | 봇의 플랫폼에서 생성된 테스트 제품군의 이름 | 
본문 매개 변수
| 매개 변수 | 설명 | 
|---|---|
| version | 
 실행이 필요한 봇 버전 
  | 
권한 부여
다음 구문을 포함한 헤더에 JWT를 포함한 API를 호출합니다. auth: {{JWT}}
콘텐츠 유형 응답
application/json
샘플 요청
curl --location --request POST \
      'https://{host}/api/public/stream/{streamId}/testsuite/{testSuiteName}/run' \
      --header 'auth: {jwt-token}' \
      --header 'bot-language: {language-code}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
         "version":"inDevelopment" 
         }'
		샘플 응답
{
    "status": "accepted",
    "requestId": "tr-acfxxbff-xxxf-xaxx-bbbx-exxxabaxxcxx"
}