{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/keirolabs/json-schema/keirolabs-post-api-v2-search-content-response-schema.json",
  "title": "PostApiV2SearchContentResponse",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/keirolabs-openapi-generated.yml#/components/schemas/PostApiV2SearchContentResponse",
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "snippet": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "word_count": {
          "type": "integer"
        }
      }
    },
    "enrichment": {
      "type": "object",
      "properties": {
        "tldr": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "entities": {
          "type": "object",
          "properties": {
            "key_entities": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "embeddings": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string"
        },
        "dimensions": {
          "type": "integer"
        },
        "chunkSize": {
          "type": "integer"
        },
        "chunkCount": {
          "type": "integer"
        },
        "totalChunks": {
          "type": "integer"
        },
        "chunks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "embedding": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          }
        },
        "truncated": {
          "type": "boolean"
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "error": {
      "type": "string"
    }
  }
}