changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "models": {
+ "items": {
+ "properties": {
+ "author": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ },
+ "bestOffer": {
+ "anyOf": [
+ {
+ "properties": {
+ "prices": {
+ "properties": {
+ "inputPerMillionTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "outputPerMillionTokens": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "inputPerMillionTokens",
+ "outputPerMillionTokens"
+ ],
+ "type": "object"
+ },
+ "provider": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "provider",
+ "prices"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Provider selected using 10 million input and 2 million output tokens; not independent minima or a quote for every workload."
+ },
+ "contextTokens": {
+ "anyOf": [
+ {
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "family": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "maxOutputTokens": {
+ "anyOf": [
+ {
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "offerCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "releasedAt": {
+ "anyOf": [
+ {
+ "format": "date",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "slug": {
+ "type": "string"
+ },
+ "weightAvailability": {
+ "enum": [
+ "closed",
+ "open",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name",
+ "author",
+ "family",
+ "releasedAt",
+ "contextTokens",
+ "maxOutputTokens",
+ "weightAvailability",
+ "offerCount",
+ "bestOffer"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "models"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "properties": {
+ "apiVersion": {
+ "const": "v1"
+ },
+ "currency": {
+ "const": "USD"
+ },
+ "tokenPriceUnit": {
+ "const": "per_million_tokens"
+ }
+ },
+ "required": [
+ "apiVersion",
+ "currency",
+ "tokenPriceUnit"
+ ],
+ "type": "object"
+ },
+ "pagination": {
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "pageCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "pageSize": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "meta",
+ "data",
+ "pagination"
+ ],
+ "type": "object"
+}