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

Example Usage

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

let value: GenerationContentDataOutput = {
  completion: "The meaning of life is a philosophical question...",
  reasoning: null,
};

Fields

FieldTypeRequiredDescriptionExample
completionstring:heavy_check_mark:The completion outputThe meaning of life is a philosophical question…
reasoningstring:heavy_check_mark:Reasoning/thinking output, if any<nil>