Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Reasoning detail union schema

Supported Types

models.ReasoningDetailEncrypted

const value: models.ReasoningDetailEncrypted = {
  data: "<value>",
  type: "reasoning.encrypted",
};

models.ReasoningDetailSummary

const value: models.ReasoningDetailSummary = {
  summary:
    "The model analyzed the problem by first identifying key constraints, then evaluating possible solutions...",
  type: "reasoning.summary",
};

models.ReasoningDetailText

const value: models.ReasoningDetailText = {
  type: "reasoning.text",
};