App Logo
claude.ai

Ask Claude

Open a new Claude.ai chat, send one question, and wait for the answer to finish (up to 3 minutes). Returns the answer as the markdown the model emitted, the message and conversation ids, why generation stopped, which model answered, the web_search queries it issued, every source its web_search and web_fetch tools surfaced, and — separately — the sources the answer actually cited. Requires a signed-in session: claude.ai has no anonymous chat. Avoid running many of these at once: claude.ai limits how many chats one account may hold concurrently and refuses the extras, so a refused send comes back quickly carrying Claude's own message and only needs to be retried at a slower pace.

Input

question required

The question/prompt to send as the first message of a new chat.

Output

model required

Which model answered, as the conversation records it (e.g. "claude-opus-5") — the server's own name for what ran, not the composer's display label. Null when the conversation carried no model.

answer required

The assistant's full answer as the markdown source the model emitted (the turn's `text` blocks, concatenated in order). Not the rendered text: the reasoning card and tool-call cards are separate block types and are excluded. It carries NO citation markup — a cited sentence is plain text here, and which sources it cited is `citations`.

sources required

Every source the model's tools surfaced: each result web_search returned and each page web_fetch loaded, deduped by url. This is the CANDIDATE POOL the model could read, NOT what the answer cited — a one-line answer routinely carries a dozen. See `citations` for what it actually attributed. Empty when no tool ran.

citations required

The sources the ANSWER ATTRIBUTED a sentence to — the citation pills rendered under the text — in first-cited order, deduped by url. A strict reading of what the answer stood on, as opposed to `sources`, which is everything the tools put in front of it. Empty when the answer cited nothing, which is a real outcome and not a failure: a model answering from training data cites nobody. The span each citation covers is not reported — only which sources were cited.

messageId required

uuid of the assistant message.

stopReason required

Why generation ended: "end_turn" for a complete answer, anything else (e.g. "max_tokens") means the answer is truncated.

conversationId required

Conversation uuid, read off the completion endpoint's own URL (never null — claude.ai has no anonymous chat).

webSearchQueries required

Search queries the model issued via its web_search tool during this answer. Empty when it didn't search.

Start building not clicking