Przejdź do nawigacji

Uruchom ocenę rozmowy

Uruchom ponownie określoną ocenę rozmowy.

Parametry ścieżki

conversation_idstringWymagany
ID rozmowy

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
evaluation_idstringWymagany
ID pojedynczego kryterium oceny do ponownego uruchomienia.
scopeenumOpcjonalnyDomyślnie conversation
Dozwolone wartości:
evaluated_agent_idstring or nullOpcjonalny

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 nullOpcjonalny

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.

Odpowiedź

Pomyślna odpowiedź

agent_idstring
statusenum
Dozwolone wartości:
metadataobject
conversation_idstring
has_audioboolean
has_user_audioboolean
has_response_audioboolean
has_auxiliary_audioboolean
transcriptlist of objects
agent_namestring or nullOpcjonalny
conversation_productstringOpcjonalnyDomyślnie agent
user_idstring or nullOpcjonalny
branch_idstring or nullOpcjonalny
version_idstring or nullOpcjonalny

ID wersji agenta użytej w tej rozmowie

analysisobject or nullOpcjonalny
user_message_countinteger or nullOpcjonalny

Liczba tekstowych wypowiedzi użytkownika w transkrypcji; wypowiedzi zawierające tylko narzędzia nie są liczone. null dla starszych rozmów sprzed dodania tego pola, których transkrypcję usunięto.

agent_message_countinteger or nullOpcjonalny

Liczba tekstowych wypowiedzi agenta w transkrypcji; wypowiedzi zawierające tylko narzędzia nie są liczone. null dla starszych rozmów sprzed dodania tego pola, których transkrypcję usunięto.

visited_agentslist of objectsOpcjonalny
conversation_initiation_client_dataobjectOpcjonalny
environmentstringOpcjonalnyDomyślnie production
tag_idslist of stringsOpcjonalny

Identyfikatory tagów rozmowy przypisanych do tej rozmowy.

otlp_tracesmap from strings to any or nullOpcjonalny

Ładunek śledzenia OpenTelemetry, gdy żądanie używa format=opentelemetry; w przeciwnym razie pomijany.

Błędy

422
Unprocessable Entity Error