{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostilo-app/json-schema/hostilo-app-get-site-response-schema.json",
  "title": "GetSiteResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostilo-app-openapi.json#/components/schemas/GetSiteResponse",
  "type": "object",
  "required": [
    "success",
    "site_id",
    "url",
    "html"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "site_id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "Live address (custom domain when active)."
    },
    "hostilo_url": {
      "type": "string"
    },
    "custom_domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "custom_domain_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "flagged": {
      "type": "boolean"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "size_bytes": {
      "type": "integer"
    },
    "html": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean",
      "description": "Always false over REST (full page, max 5 MB)."
    },
    "returned_bytes": {
      "type": "integer"
    },
    "llms_enabled": {
      "type": "boolean",
      "description": "Whether the owner has turned on the file for AI (llms.txt) in the dashboard tab For AI. Off by default; only the owner can turn it on in the dashboard."
    },
    "llms_txt": {
      "type": [
        "string",
        "null"
      ],
      "description": "The site's llms.txt (summary for AI assistants, served at /llms.txt): the owner's own version or the automatic one Hostilo builds after every save; null when turned off (the default) or password-protected. To replace it, publish a file named llms.txt with publish_files; it is served only while the owner keeps the file turned on."
    }
  }
}