changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "UsageItem": {
+ "description": "Usage item for a single operation.",
+ "properties": {
+ "count": {
+ "description": "Count of the SKU.",
+ "examples": [
+ 1
+ ],
+ "title": "Count",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Name of the SKU.",
+ "examples": [
+ "sku_search_additional_results",
+ "sku_extract_excerpts"
+ ],
+ "title": "Name",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "count"
+ ],
+ "title": "UsageItem",
+ "type": "object"
+ },
+ "Warning": {
+ "description": "Human-readable message for a task.",
+ "properties": {
+ "detail": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional detail supporting the warning.",
+ "title": "Detail"
+ },
+ "message": {
+ "description": "Human-readable message.",
+ "title": "Message",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of warning. Note that adding new warning types is considered a backward-compatible change.",
+ "enum": [
+ "spec_validation_warning",
+ "input_validation_warning",
+ "warning"
+ ],
+ "examples": [
+ "spec_validation_warning",
+ "input_validation_warning"
+ ],
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "message"
+ ],
+ "title": "Warning",
+ "type": "object"
+ },
+ "WebSearchResult": {
+ "description": "A single search result from the web search API.",
+ "properties": {
+ "excerpts": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Relevant excerpted content from the URL, formatted as markdown.",
+ "title": "Excerpts"
+ },
+ "publish_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Publish date of the webpage in YYYY-MM-DD format, if available.",
+ "title": "Publish Date"
+ },
+ "title": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Title of the webpage, if available.",
+ "title": "Title"
+ },
+ "url": {
+ "description": "URL associated with the search result.",
+ "title": "Url",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "title": "WebSearchResult",
+ "type": "object"
+ }
+ },
+ "description": "Output for the Search API.",
+ "properties": {
+ "results": {
+ "description": "A list of WebSearchResult objects, ordered by decreasing relevance.",
+ "items": {
+ "$ref": "#/$defs/WebSearchResult"
+ },
+ "title": "Results",
+ "type": "array"
+ },
+ "search_id": {
+ "description": "Search ID. Example: `search_cad0a6d2dec046bd95ae900527d880e7`",
+ "title": "Search Id",
+ "type": "string"
+ },
+ "usage": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/UsageItem"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Usage metrics for the search request.",
+ "title": "Usage"
+ },
+ "warnings": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/Warning"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Warnings for the search request, if any.",
+ "title": "Warnings"
+ }
+ },
+ "required": [
+ "search_id",
+ "results"
+ ],
+ "title": "SearchResponse",
+ "type": "object"
+}