{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/typesearch-ai/json-schema/typesearch-ai-contents-request-schema.json",
  "title": "ContentsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/typesearch-ai-contents-api-openapi.yml#/components/schemas/ContentsRequest",
  "type": "object",
  "properties": {
    "urls": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "format": "uri"
      }
    },
    "query": {
      "description": "With a query, the model picks the excerpt about it and says how much each article covers it.",
      "type": "string",
      "minLength": 2,
      "maxLength": 200
    },
    "highlights": {
      "default": true,
      "type": "boolean"
    },
    "max_tokens": {
      "default": null,
      "description": "Cap on model tokens. If it is reached, the response comes back with incomplete: true.",
      "anyOf": [
        {
          "type": "integer",
          "minimum": 2000,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "urls"
  ],
  "additionalProperties": false
}