탐색으로 건너뛰기

대화 평가 실행

대화에 대한 특정 평가를 다시 실행합니다.

경로 매개변수

conversation_idstring필수

대화 ID

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
evaluation_idstring필수

다시 실행할 단일 평가 기준의 ID입니다.

scopeenum선택 사항기본값 conversation
허용된 값:
evaluated_agent_idstring or null선택 사항

ID of the agent whose evaluation result to rerun, for conversations that transferred between agents. If omitted, a conversation-scoped evaluation reruns for the agent that started the conversation.

evaluated_branch_idstring or null선택 사항

Branch of evaluated_agent_id whose evaluation result to rerun, for conversations that visited the agent on more than one branch. If omitted, the result reruns for every branch of that agent.

응답

성공 응답

agent_idstring
statusenum
허용된 값:
metadataobject
conversation_idstring
has_audioboolean
has_user_audioboolean
has_response_audioboolean
has_auxiliary_audioboolean
transcriptlist of objects
agent_namestring or null선택 사항
conversation_productstring선택 사항기본값 agent
user_idstring or null선택 사항
branch_idstring or null선택 사항
version_idstring or null선택 사항

이 대화에 사용된 에이전트 버전의 ID

analysisobject or null선택 사항
user_message_countinteger or null선택 사항

텍스트가 있는 사용자 트랜스크립트 턴 수입니다. 도구만 사용한 턴은 계산되지 않습니다. 이 필드가 도입되기 전에 트랜스크립트가 삭제된 이전 대화의 경우 null입니다.

agent_message_countinteger or null선택 사항

텍스트가 있는 에이전트 트랜스크립트 턴 수입니다. 도구만 사용한 턴은 계산되지 않습니다. 이 필드가 도입되기 전에 트랜스크립트가 삭제된 이전 대화의 경우 null입니다.

visited_agentslist of objects선택 사항
conversation_initiation_client_dataobject선택 사항
environmentstring선택 사항기본값 production
tag_idslist of strings선택 사항

이 대화에 할당된 대화 태그 ID입니다.

otlp_tracesmap from strings to any or null선택 사항

요청에서 format=opentelemetry를 사용할 때의 OpenTelemetry 추적 페이로드입니다. 그 외에는 생략됩니다.

오류

422
Unprocessable Entity Error