OpenRouter TypeScript SDK - v1.0.6
GitHub
Examples
Preparing search index...
ResponseFormat
Interface ResponseFormat
Structured response format
interface
ResponseFormat
{
type
:
"text"
|
"json_object"
|
"json_schema"
;
json_schema
?:
{
name
:
string
;
strict
?:
boolean
;
schema
:
Record
<
string
,
any
>
;
}
;
}
Index
Properties
type
json_
schema?
Properties
type
type
:
"text"
|
"json_object"
|
"json_schema"
Optional
json_
schema
json_schema
?:
{
name
:
string
;
strict
?:
boolean
;
schema
:
Record
<
string
,
any
>
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
type
json_
schema
GitHub
Examples
OpenRouter TypeScript SDK - v1.0.6
Loading...
Structured response format