Skip to main content

Get bounded inbox thread classify context

1 min read
get/messages/ai/classify-context
Request example
Response
get/messages/ai/classify-context

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.

Query parameters

threadIdsstring#
Comma-separated thread IDs (at most ten).

Responses

application/json
Thread snippets and existing findings.
dataobjectrequired#
Show child attributes
threadsobject[]required#

Items: max 10

Show child attributes
threadIdstringrequired#
profileHandlestringrequired#
profileNamestringrequired#
viewerRolestringrequired#
sourceVersionintegerrequired#
sourceFingerprintstringrequired#
messagesobject[]required#
Show child attributes
senderRolestringrequired#
bodystringrequired#
createdAtstringrequired#
findingsobject[]required#
Show child attributes
idstringrequired#
threadIdstringrequired#
intentstringrequired#
signalstringrequired#
sourceFingerprintstringrequired#
sourceVersionintegerrequired#
request_idstring#