Skip to main content
POST
Test Classify comment labels

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Body

application/json
comments
string[]
required

1 to 50 comment texts, each at most 1000 characters.

Required array length: 1 - 50 elements
Maximum string length: 1000
journeyId
string

A draft journey id, or its initiative id. With nodeId; not with labels.

Minimum string length: 1
nodeId
string

The Classify comment step in that draft.

Minimum string length: 1
labels
object[]

Labels to try instead of a saved step: 1 to 8, each { name, description }. The AI decides from both, so be specific.

Required array length: 1 - 8 elements
minConfidence
number

Below this the comment is Unsure. 0.5 to 0.95; defaults to the step's, else 0.7.

Required range: 0.5 <= x <= 0.95

Response

Success

minConfidence
number
required

The threshold that was applied.

results
object[]
required