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

Example Usage

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

let value: ResponseOutputText = {
  type: "output_text",
  text: "The capital of France is Paris.",
};

Fields

FieldTypeRequiredDescription
type”output_text”:heavy_check_mark:N/A
textstring:heavy_check_mark:N/A
annotationsmodels.OpenAIResponsesAnnotation[]:heavy_minus_sign:N/A
logprobsmodels.Logprob[]:heavy_minus_sign:N/A