ResponseOutputText - TypeScript SDK

ResponseOutputText type definition

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

Example Usage

1import { ResponseOutputText } from "@openrouter/sdk/models";
2
3let value: ResponseOutputText = {
4 text: "The capital of France is Paris.",
5 type: "output_text",
6};

Fields

FieldTypeRequiredDescription
annotationsmodels.OpenAIResponsesAnnotation[]N/A
logprobsmodels.Logprob[]N/A
textstring✔️N/A
type”output_text”✔️N/A