Skip to main content

Apply personal thread intent and signal labels

1 min read
post/messages/ai/classify
Request example
Response
post/messages/ai/classify

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Body

application/json
operationIdstringrequired#
leaseOwnerstringrequired#
fencingTokenintegerrequired#
classificationsobject[]required#

Items: max 10

Show child attributes
threadIdstringrequired#
intentenum<string>required#
Options:questionsupportfeedbacksocialother
signalenum<string>required#
Options:possible_spamneeds_attentionnone
sourceFingerprintstringrequired#
sourceVersionintegerrequired#

Responses

application/json
Applied classifications.
dataobjectrequired#
Show child attributes
statusstringrequired#
findingsobject[]required#
Show child attributes
idstringrequired#
threadIdstringrequired#
intentstringrequired#
signalstringrequired#
sourceFingerprintstringrequired#
sourceVersionintegerrequired#
changedCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#