Skip to main content
POST
Resolve a suggestion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

suggestionId
string
required

Body

application/json
type
enum<string>
required

Answer the gap with a Q&A pair or a text source.

Available options:
QA,
TEXT
question
string

For QA.

Maximum string length: 2500
answer
string

For QA.

Maximum string length: 2500
title
string

For TEXT.

Maximum string length: 100
text
string

For TEXT.

Maximum string length: 10000

Response

id
string
required
status
enum<string>
required
Available options:
PENDING,
DISMISSED,
RESOLVED
normalizedQuestion
string
required

The question customers ask that knowledge does not answer well.

category
string
required
suggestedAction
string
required
reasoning
string
required
frequency
number
required

How often it came up.

impactScore
number
required
sampleQuestions
string[]
required
conversationIds
string[]
required
resolvedBySourceId
string | null
required

Knowledge source created when resolved.

resolvedAt
string<date-time> | null
required
createdAt
string<date-time>
required