Limit introduced on the query field in Knowledge Search APIs

Description

Genesys Cloud will place a limit on the query field of Knowledge Search APIs. If the number of words in the query field exceeds 500 words or 3000 characters, a 400 (bad request) response will be returned.

Change Category

API

Change Context

Enforcing field limitation rules and consistent behaviour at the platform level protects platform stability and allows us to develop new features.

Change Impact

Customers will start getting a 400 (bad request) response if the query field has more than 500 words in the request.

Date of Change

No sooner than December 1st, 2024

Impacted APIs

POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/search
POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/search/suggestions
POST /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search
POST /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/suggestions

References

[GKC-19959]