InputsReasoning - TypeScript SDK

InputsReasoning type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

An output item containing reasoning

Example Usage

1import { InputsReasoning } from "@openrouter/sdk/models";
2
3let value: InputsReasoning = {
4 id: "reasoning-123",
5 summary: [
6 {
7 text: "Analyzed the problem and found the optimal solution.",
8 type: "summary_text",
9 },
10 ],
11 type: "reasoning",
12};

Fields

FieldTypeRequiredDescriptionExample
contentmodels.ReasoningTextContent[]N/A
encryptedContentstringN/A
idstring✔️N/A
statusmodels.InputsStatusUnion2N/A
summarymodels.ReasoningSummaryText[]✔️N/A
typemodels.InputsTypeReasoning✔️N/A
formatmodels.ReasoningFormatN/Aunknown
signaturestringA signature for the reasoning content, used for verificationEvcBCkgIChABGAIqQKkSDbRuVEQUk9qN1odC098l9SEj…