Version 2 Keyword Spotting

Introduction

Identify spoken keyword or phrases in a call for use in later reporting.

Keyword Properties

List Keywords for an IGRP

This lists the keywords for an IGRP.

Request:

GET /config/v2/igrps/{igrpSpec}/keywordGroups/{keywordGroupSpec}/keywords

Segment Params

GET Params

Filter Types

The keywords list may be filtered by any of the returned fields.

Sort Types

The keywords list may be sorted by any of the returned fields. The default sort is keyword in ascending order.

Response:

Returns a list of keywords for an IGRP.

{"keywordId":"3","keyword":"connections","keywordStatus":200,"leg":"contact","minConfidence":"2","keywordScore":"2","createDatetime":"2017-11-07 17:20:00","updateDatetime":"2017-11-10 10:22:14"}
{"keywordId":"1","keyword":"installation","keywordStatus":200,"leg":"operator","minConfidence":"1","keywordScore":"1","createDatetime":"2017-11-07 17:20:00","updateDatetime":"2017-11-10 10:20:43"}
{"keywordId":"2","keyword":"premium","keywordStatus":200,"leg":"operator","minConfidence":"1","keywordScore":"1","createDatetime":"2017-11-07 17:20:00","updateDatetime":"2017-11-10 10:20:43"}

Read Keyword properties

Read keyword properties for the specified keyword ID and IGRP.

Request:

GET /config/v2/igrps/{igrpSpec}/keywordGroups/{keywordGroupSpec}/keywords/{keywordSpottingSpec}

Segment Params

Response:

Returns details of a keyword for an IGRP.

{"keywordId":"1","keyword":"installation","keywordStatus":200,"leg":"operator","minConfidence":"1","keywordScore":"1","createDatetime":"2017-11-07 17:20:00","updateDatetime":"2017-11-10 10:20:43"}

Create Keyword config

This creates a new keyword and its properties for an IGRP.

Request:

POST /config/v2/igrps/{igrpSpec}/keywordGroups/{keywordGroupSpec}/keywords

Segment Params

POST Params

Response:

{"keywordId":"7"}

Update Keyword Config

Updates the configuration of an existing keyword.

Request:

POST /config/v2/igrps/{igrpSpec}/keywordGroups/{keywordGroupSpec}/keywords/{keywordSpottingSpec}

Segment Params

POST Params

Response:

Returns the HTTP 204 (No Content) status code if update successful.

HTTP 204 - NO CONTENT

Delete Keyword Config

Set keywordStatus to inactive for an existing keyword.

Request:

DELETE /config/v2/igrps/{igrpSpec}/keywordGroups/{keywordGroupSpec}/keywords/{keywordSpottingSpec}

Segment Params

Response:

Returns the HTTP 204 (No Content) status code if delete successful.

HTTP 204 - NO CONTENT