chat
Chat Message
Unified chat endpoint - Supports both anonymous and verified users.
For VERIFIED users (identity_token provided):
- JWT is verified using product's verification_secret
- User data is upserted to product_users table
- Conversation is persisted using PostgresSaver
- Returns conversation_id for future reference
For ANONYMOUS users (no identity_token):
- Conversation persisted to database via shared anonymous product_user
- Chat memory uses MemorySaver (in-memory, session-only)
- Returns conversation_id for tracking
post/api/chat/message
Request body
Response
Successful Response
{"stackTrail":"paths:/api/chat/message:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.