addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / body
Added value: +{
+ "properties": {
+ "frequency_penalty": {
+ "default": 1,
+ "description": "Penalizes new tokens based on their existing frequency in the text so far. Positive values decrease the likelihood of repeating the same line verbatim.",
+ "maximum": 2,
+ "minimum": 0,
+ "type": "number"
+ },
+ "max_tokens": {
+ "description": "The maximum number of tokens to generate in the response.",
+ "type": "integer"
+ },
+ "messages": {
+ "description": "A list of messages comprising the conversation so far.",
+ "items": {
+ "properties": {
+ "content": {
+ "description": "The content of the message.",
+ "type": "string"
+ },
+ "role": {
+ "description": "The role of the message author.",
+ "enum": [
+ "system",
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "content"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "model": {
+ "description": "The Sonar model to use.",
+ "enum": [
+ "sonar",
+ "sonar-pro",
+ "sonar-reasoning-pro",
+ "sonar-deep-research"
+ ],
+ "type": "string"
+ },
+ "presence_penalty": {
+ "default": 0,
+ "description": "Penalizes new tokens based on whether they appear in the text so far. Positive values increase the likelihood of talking about new topics.",
+ "maximum": 2,
+ "minimum": -2,
+ "type": "number"
+ },
+ "return_citations": {
+ "default": true,
+ "description": "Whether to return citations and search results in the response.",
+ "type": "boolean"
+ },
+ "search_context": {
+ "default": "low",
+ "description": "Controls how much search context to use. Affects per-request cost.",
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "search_domain_filter": {
+ "description": "Limit search to specific domains.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "search_recency_filter": {
+ "description": "Filter search results by recency.",
+ "enum": [
+ "month",
+ "week",
+ "day",
+ "hour"
+ ],
+ "type": "string"
+ },
+ "stream": {
+ "default": false,
+ "description": "Whether to stream the response using server-sent events.",
+ "type": "boolean"
+ },
+ "temperature": {
+ "default": 0.2,
+ "description": "Sampling temperature between 0 and 2. Lower values make output more focused and deterministic.",
+ "maximum": 2,
+ "minimum": 0,
+ "type": "number"
+ },
+ "top_k": {
+ "default": 0,
+ "description": "The number of tokens to keep for top-k filtering.",
+ "maximum": 2048,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "top_p": {
+ "default": 0.9,
+ "description": "Nucleus sampling parameter. The model considers tokens with top_p probability mass.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "model",
+ "messages"
+ ],
+ "type": "object"
+}
removedInput schema / properties / frequency_penalty
Removed value: -{
- "default": 1,
- "description": "Penalizes new tokens based on their existing frequency in the text so far. Positive values decrease the likelihood of repeating the same line verbatim.",
- "maximum": 2,
- "minimum": 0,
- "type": "number"
-}
removedInput schema / properties / max_tokens
Removed value: -{
- "description": "The maximum number of tokens to generate in the response.",
- "type": "integer"
-}
removedInput schema / properties / messages
Removed value: -{
- "description": "A list of messages comprising the conversation so far.",
- "items": {
- "properties": {
- "content": {
- "description": "The content of the message.",
- "type": "string"
- },
- "role": {
- "description": "The role of the message author.",
- "enum": [
- "system",
- "user",
- "assistant"
- ],
- "type": "string"
- }
- },
- "required": [
- "role",
- "content"
- ],
- "type": "object"
- },
- "type": "array"
-}
removedInput schema / properties / model
Removed value: -{
- "description": "The Sonar model to use.",
- "enum": [
- "sonar",
- "sonar-pro",
- "sonar-reasoning-pro",
- "sonar-deep-research"
- ],
- "type": "string"
-}
removedInput schema / properties / presence_penalty
Removed value: -{
- "default": 0,
- "description": "Penalizes new tokens based on whether they appear in the text so far. Positive values increase the likelihood of talking about new topics.",
- "maximum": 2,
- "minimum": -2,
- "type": "number"
-}
removedInput schema / properties / return_citations
Removed value: -{
- "default": true,
- "description": "Whether to return citations and search results in the response.",
- "type": "boolean"
-}
removedInput schema / properties / search_context
Removed value: -{
- "default": "low",
- "description": "Controls how much search context to use. Affects per-request cost.",
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
-}
removedInput schema / properties / search_domain_filter
Removed value: -{
- "description": "Limit search to specific domains.",
- "items": {
- "type": "string"
- },
- "type": "array"
-}
removedInput schema / properties / search_recency_filter
Removed value: -{
- "description": "Filter search results by recency.",
- "enum": [
- "month",
- "week",
- "day",
- "hour"
- ],
- "type": "string"
-}
removedInput schema / properties / stream
Removed value: -{
- "default": false,
- "description": "Whether to stream the response using server-sent events.",
- "type": "boolean"
-}
removedInput schema / properties / temperature
Removed value: -{
- "default": 0.2,
- "description": "Sampling temperature between 0 and 2. Lower values make output more focused and deterministic.",
- "maximum": 2,
- "minimum": 0,
- "type": "number"
-}
removedInput schema / properties / top_k
Removed value: -{
- "default": 0,
- "description": "The number of tokens to keep for top-k filtering.",
- "maximum": 2048,
- "minimum": 0,
- "type": "integer"
-}
removedInput schema / properties / top_p
Removed value: -{
- "default": 0.9,
- "description": "Nucleus sampling parameter. The model considers tokens with top_p probability mass.",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
-}
changedInput schema / required
Previous value: -[
- "model",
- "messages"
-]New value: +[
+ "body"
+]