> ## Documentation Index
> Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ReasoningContent

# ReasoningContent

Reasoning content for chain-of-thought and extended thinking responses.

```python theme={null}
from adaline_api.models.reasoning_content import ReasoningContent
```

***

## Fields

<ParamField body="modality" type="str" required>
  Must be `"reasoning"`.
</ParamField>

<ParamField body="value" type="ReasoningContentValueUnion" required>
  The reasoning value — either a `"thinking"` type with content and signature, or a `"redacted"` type. Use `ReasoningContentValueUnion.from_dict()` to construct.
</ParamField>

***

## Example

```python theme={null}
from adaline_api.models.reasoning_content import ReasoningContent
from adaline_api.models.reasoning_content_value_union import ReasoningContentValueUnion
from adaline_api.models.message_content import MessageContent

reasoning = ReasoningContent(
    modality="reasoning",
    value=ReasoningContentValueUnion.from_dict({
        "type": "thinking",
        "thinking": "Let me analyze this step by step...",
        "signature": "sig_abc123"
    })
)

content = MessageContent(actual_instance=reasoning)
```

**JSON**:

```json theme={null}
{
  "modality": "reasoning",
  "value": {
    "type": "thinking",
    "thinking": "Let me analyze this step by step...",
    "signature": "sig_abc123"
  }
}
```

***

## Related

* [MessageContent](/docs/reference/sdk/v2/python/types/MessageContent) — union wrapper for all content types
* [PromptMessage](/docs/reference/sdk/v2/python/types/PromptMessage) — chat message containing content arrays
