v1

latestOpenAPI 3.1.02026-08-0411088114.2 KB
conversations

Generate Next Best Action

Generate next best action suggestion for a conversation.

Analyzes the conversation up to the specified message (or entire conversation if message_id not provided) to identify:

  • Automation opportunities (e.g., setting reminders, saving preferences)
  • Information to remember for future interactions

Returns a JSON structure with suggestion details.

post/users/me/conversations/{conversation_id}/nba

Path parameters

conversation_idstring required

Query parameters

message_idstring nullable

Optional message ID to analyze up to. If not provided, uses entire conversation.

Optional message ID to analyze up to. If not provided, uses entire conversation.

Response

Successful Response

has_suggestionboolean
suggestion_typestring
thinkingstring