Skip to main content
POST
Check an agent conversation for a loop

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

conversationId
string
required

Agent conversation identifier.

Body

application/json
window_turns
integer

How many recent turns to inspect.

Required range: 2 <= x <= 20
jaccard_threshold
number

Similarity above which two customer turns count as a re-ask.

Required range: 0 <= x <= 1
sentiment_negative_threshold
number

Sentiment below which the window is treated as negative.

Required range: -1 <= x <= 1
min_customer_turns
integer

Minimum customer turns required before a loop can be flagged.

Required range: 1 <= x <= 20

Response

200 - application/json

The loop evaluation for the conversation

data
object
Example:
meta
object