Skip to main content

Detect Scam Dialog event

The events sent to the client on the Detect Scam Dialog API.

    An event emitted when processing the audio stream has yielded a result.


    scamDialogRiskstringrequired

    The scam risk based on the speech content in the audio stream.

    Format: ScamDialogRisk (string)

    Possible values: [SCAM, NEUTRAL]

    Example: SCAM

    confidencestringrequired

    The confidence level of the scamDialogRisk field.

    Format: ScamDialogConfidence (string)

    Possible values: [LOW, HIGH]

    Example: HIGH

    typestringrequired

    Type discriminator.

    Default value: result
    Example: result
Detect Scam Dialog event
{
"scamDialogRisk": "SCAM",
"confidence": "HIGH",
"type": "result"
}