FormatJsonObjectConfig - TypeScript SDK

FormatJsonObjectConfig type definition

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

JSON object response format

Example Usage

1import { FormatJsonObjectConfig } from "@openrouter/sdk/models";
2
3let value: FormatJsonObjectConfig = {
4 type: "json_object",
5};

Fields

FieldTypeRequiredDescription
type”json_object”✔️N/A