ReasoningSummaryPartAddedEvent - TypeScript SDK

ReasoningSummaryPartAddedEvent type definition

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

Event emitted when a reasoning summary part is added

Example Usage

1import { ReasoningSummaryPartAddedEvent } from "@openrouter/sdk/models";
2
3let value: ReasoningSummaryPartAddedEvent = {
4 itemId: "<id>",
5 outputIndex: 648271,
6 part: {
7 text: "Analyzed the problem using first principles",
8 type: "summary_text",
9 },
10 sequenceNumber: 0,
11 summaryIndex: 773896,
12 type: "response.reasoning_summary_part.added",
13};

Fields

FieldTypeRequiredDescriptionExample
itemIdstring✔️N/A
outputIndexnumber✔️N/A
partmodels.ReasoningSummaryText✔️N/A{"text": "Analyzed the problem using first principles","type": "summary_text"}
sequenceNumbernumber✔️N/A
summaryIndexnumber✔️N/A
type”response.reasoning_summary_part.added”✔️N/A