Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
A reference to a previous response item by ID

Example Usage

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

let value: ItemReferenceItem = {
  id: "msg-abc123",
  type: "item_reference",
};

Fields

FieldTypeRequiredDescription
idstring:heavy_check_mark:N/A
typemodels.ItemReferenceItemType:heavy_check_mark:N/A