Ask ChatGPT
Input
question requiredThe question/prompt to send as the first message of a new chat.
Output
answers requiredEvery assistant reply to the question, in the order rendered. Normally one entry. ChatGPT sometimes serves a paired-response variant that answers the same question TWICE and asks which reply you prefer, and then this holds two entries with neither more official than the other. Read the length before reading answers[0].
references requiredEvery source the stream carried, each tagged with the site's own type. search_result is the pool a web search returned, whether or not the answer used it; grouped_webpages and sources_footnote are what the answer surfaced on screen. A page that was retrieved and then cited appears once under each kind, and that pairing is the signal rather than a duplicate. Empty when the answer links nothing.
conversationId requiredConversation UUID from the /c/<id> URL; null when the chat is anonymous (logged out) and gets no URL. Read only after generation ends, because while the answer streams the URL carries a transient WEB:<uuid> form instead.
webSearchQueries requiredSearch queries the model issued via its web.run tool during this answer (from the eavesdropped conversation stream). Empty when it didn't search.
