Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when a reasoning summary part is complete

Example Usage

import { ReasoningSummaryPartDoneEvent } from "@openrouter/sdk/models";

let value: ReasoningSummaryPartDoneEvent = {
  itemId: "<id>",
  outputIndex: 686718,
  part: {
    text: "Analyzed the problem using first principles",
    type: "summary_text",
  },
  sequenceNumber: 0,
  summaryIndex: 477332,
  type: "response.reasoning_summary_part.done",
};

Fields

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