When using models with thinking capabilities, the response includes additional reasoning information that can be logged and analyzed.Documentation Index
Fetch the complete documentation index at: https://docs.keywordsai.co/llms.txt
Use this file to discover all available pages before exploring further.
Response Structure
Thinking-enabled responses include these additional fields:- reasoning_content: The model’s reasoning process in text format
- thinking_blocks: Array of structured thinking blocks with signatures
Example Request
Example Response
Logging Parameters
All standard logging parameters apply. The thinking-related fields are automatically captured when present:- reasoning_content: Full reasoning text
- thinking_blocks: Array of thinking block objects
- signature: Cryptographic signature for thinking block verification
Key Points
- Thinking blocks are automatically logged when present in the response
- The
reasoning_contentfield contains the complete reasoning process thinking_blocksprovide structured access to individual reasoning steps- All other logging parameters work the same as regular text logging