Extractive

The service will retrieve a set of answers for a given scope. A scope is a collection of datasources or an eGain KB Portal with a specific language and personalization profile id.

SecurityoAuthUser or oAuthCustomer or oAuthAnonymousCustomer
Request
query Parameters
q
required
string

The users query.

portalId
required
number

The unique id an eGain Knowledge Base Portal.

personalizationProfileId
number

The unique id of the eGain Knowledge personalization profile id.

languageCode
string
Default: "en-US"

The eGain Knowledge Base Language ID. Only English or en-US is supported at this time.

Value: "en-US"
departmentId
number

Department Id.

userId
number

User Id.

Responses
200

Semantic Suggestions Response.

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal server error

get/instantanswers/extractive
Request samples
Response samples
application/json
{
  • "answers": [
    ]
}