Back to gallery

Reasoning parts from published example streams

No provider API keys are available. These demos replay JSONL recordings assembled from the providers' published example payloads.

Replay a published example stream

Event 0 of 12. Replay playing. Attempt 0.

No reasoning summary parts appear at this point in the recording.

Raw JSONL recording
{"_comment":"Source: https://docs.anthropic.com/en/api/messages-streaming. Published Messages API streaming example payloads, replayed without an API key."}
{"type":"message_start","message":{"id":"msg_123","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null}}
{"type":"content_block_start","index":0,"content_block":{"type":"thinking","thinking":"","signature":""}}
{"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"I should check the weather "}}
{"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"before suggesting a coat."}}
{"type":"content_block_stop","index":0}
{"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_123","name":"get_weather","input":{}}}
{"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"location\":\"San"}}
{"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":" Francisco\"}"}}
{"type":"content_block_stop","index":1}
{"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"output_tokens":42}}
{"type":"message_stop"}

State and worst-case fixtures

4 reasoning summary states in this fixture.

Reasoning summary

Waiting

Waiting for the reasoning summary.

Reasoning summary

Streaming

I should check the forecast before answering.

Reasoning summary

Done

I checked the forecast and found that a coat is unnecessary.

Reasoning summary

Failed

I should check the forecast

The provider connection failed before the summary completed.