{
  "openapi": "3.1.0",
  "info": {
    "title": "Reader public discovery API",
    "version": "2.0.0",
    "description": "Read-only discovery surfaces for Reader product truth, public Markdown, access state, and agent guidance. Personal libraries and authenticated APIs are private and are not described as public agent operations.",
    "contact": {
      "name": "Reader",
      "url": "https://read.significanthobbies.com"
    }
  },
  "servers": [
    {
      "url": "https://read.significanthobbies.com"
    }
  ],
  "tags": [
    {
      "name": "discovery",
      "description": "Public, read-only product and agent discovery surfaces."
    }
  ],
  "paths": {
    "/api/ai": {
      "get": {
        "operationId": "getAgentCatalog",
        "tags": [
          "discovery"
        ],
        "summary": "Get the Reader agent catalog",
        "responses": {
          "200": {
            "description": "Get the Reader agent catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsIndex",
        "tags": [
          "discovery"
        ],
        "summary": "Get the concise Reader agent index",
        "responses": {
          "200": {
            "description": "Get the concise Reader agent index",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getFullAgentBrief",
        "tags": [
          "discovery"
        ],
        "summary": "Get the complete public Reader agent brief",
        "responses": {
          "200": {
            "description": "Get the complete public Reader agent brief",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/index.md": {
      "get": {
        "operationId": "getHomepageMarkdown",
        "tags": [
          "discovery"
        ],
        "summary": "Get Reader purpose and current product truth as Markdown",
        "responses": {
          "200": {
            "description": "Get Reader purpose and current product truth as Markdown",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/pricing.md": {
      "get": {
        "operationId": "getPricingState",
        "tags": [
          "discovery"
        ],
        "summary": "Get the current Reader access and commercial state",
        "responses": {
          "200": {
            "description": "Get the current Reader access and commercial state",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/agents.md": {
      "get": {
        "operationId": "getAgentInstructions",
        "tags": [
          "discovery"
        ],
        "summary": "Get public Reader agent instructions and boundaries",
        "responses": {
          "200": {
            "description": "Get public Reader agent instructions and boundaries",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/skill.md": {
      "get": {
        "operationId": "getReaderSourceWorkflow",
        "tags": [
          "discovery"
        ],
        "summary": "Get the Reader source-workflow skill",
        "responses": {
          "200": {
            "description": "Get the Reader source-workflow skill",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/ai-catalog.json": {
      "get": {
        "operationId": "getAiCatalog",
        "tags": [
          "discovery"
        ],
        "summary": "Get the standards-shaped Reader AI catalog",
        "responses": {
          "200": {
            "description": "Get the standards-shaped Reader AI catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-skills/index.json": {
      "get": {
        "operationId": "getAgentSkillIndex",
        "tags": [
          "discovery"
        ],
        "summary": "Get the digest-verified Reader agent-skill index",
        "responses": {
          "200": {
            "description": "Get the digest-verified Reader agent-skill index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "getSitemap",
        "tags": [
          "discovery"
        ],
        "summary": "Get the public Reader HTML sitemap",
        "responses": {
          "200": {
            "description": "Get the public Reader HTML sitemap",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "getOpenApiSpec",
        "tags": [
          "discovery"
        ],
        "summary": "Get this public discovery specification",
        "responses": {
          "200": {
            "description": "Get this public discovery specification",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "path"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
