{
    "openapi": "3.0.3",
    "info": {
        "title": "ことほむ｜ 時代考証・コンテンツプロデュース Knowledge API",
        "description": "Vertex AI Agent Builder 連携用ナレッジ取得エンドポイント",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "https://kotohomu.com/wp-json/sk/v1"
        }
    ],
    "paths": {
        "/ai-content/{id}": {
            "get": {
                "summary": "記事IDに基づく構造化コンテンツ取得",
                "description": "ユーザーが社内規定、記事詳細、コンテンツ解説などを必要とした際にMarkdown/テキストを取得するツール",
                "operationId": "getAiContentById",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "投稿または固定ページID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "正常取得"
                    }
                }
            }
        }
    }
}