Happenstance Chat in the API and MCP
Happenstance Chat is now available through the API and the MCP server.
- New endpoints:
POST /v1/chat,GET /v1/chat,GET /v1/chat/{chat_id},POST /v1/chat/{chat_id}/messages,GET /v1/chat/{chat_id}/turns/{turn_id},POST /v1/chat/{chat_id}/turns/{turn_id}/cancel,GET /v1/chat/{chat_id}/peopleandGET /v1/chat/{chat_id}/drafts. See the Quickstart. - New MCP tools:
chat,get-chat-turn,get-chat-people,get-chat-drafts,get-chat,list-chatsandcancel-chat-turn. - Chat turns have variable cost depending on how much work is done, often 1–3 credits. Each turn is charged when it finishes.
GET /v1/usagelists chat turns withresource_typechat_turn.GET /v1/users/menow returnsconnections_count,friends_countandsources, and group members includeconnections_count.
Credit amounts may now be fractional
balance_credits and credit_used in the GET /v1/usage response are now documented as number instead of integer.- Whole-credit values still serialize as whole numbers (for example
12, not12.0). - Fractional values (for example
1.75) appear only for metered products, such as the upcoming Chat API. - Existing prices are unchanged: Search costs 2 credits and Research costs 1 credit.
