{
"tool_response": [
{
"type": "text",
"text": "{\n \"success\": true,\n \"doc\": {\n \"id\": 79,\n \"parent_id\": 51,\n \"slug\": \"explorer\",\n \"path\": \"\/api\/explorer\",\n \"title\": \"Explorer API\",\n \"description\": \"REST-API für Dokumentations-Exploration mit Chunks, Taxonomie und Suche\",\n \"content\": \"<nav class=\\\"breadcrumb\\\">\\n <a href=\\\"\/docs\\\">Dokumentation<\/a> » <a href=\\\"\/docs\/api\\\">API<\/a> » Explorer API\\n<\/nav>\\n\\n<h1>Explorer API<\/h1>\\n<p>REST-API für Doc2Vector Pipeline mit Dokumenten, Seiten, Chunks, Taxonomie und Suche.<\/p>\\n\\n<table>\\n <tr><th>Controller<\/th><td>Controller\\\\Api\\\\ExplorerController<\/td><\/tr>\\n <tr><th>Base-URL<\/th><td>\/api\/v1\/explorer<\/td><\/tr>\\n <tr><th>Datenbank<\/th><td>ki_system.dokumentation, dokumentation_chunks<\/td><\/tr>\\n<\/table>\\n\\n<h2>Statistiken<\/h2>\\n<pre><code>GET \/api\/v1\/explorer\/stats<\/code><\/pre>\\n<p>Liefert Übersicht über alle Daten:<\/p>\\n<pre><code>{\\n \\\"dokumente\\\": 15,\\n \\\"seiten\\\": 73,\\n \\\"chunks\\\": {\\n \\\"total\\\": 450,\\n \\\"tokens\\\": 125000,\\n \\\"analyzed\\\": 440,\\n \\\"synced\\\": 435\\n },\\n \\\"taxonomy_categories\\\": [\\n {\\\"taxonomy_category\\\": \\\"Betriebsdokumentation\\\", \\\"count\\\": 120},\\n {\\\"taxonomy_category\\\": \\\"API-Referenz\\\", \\\"count\\\": 85}\\n ]\\n}<\/code><\/pre>\\n\\n<h2>Dokumente<\/h2>\\n\\n<h3>Liste aller Dokumente<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/dokumente<\/code><\/pre>\\n<p>Liefert alle Root-Dokumente (depth=0) mit Statistiken.<\/p>\\n\\n<h3>Dokument-Details<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/dokumente\/{id}<\/code><\/pre>\\n<p>Liefert Dokument mit Seiten und Taxonomie.<\/p>\\n\\n<h2>Seiten<\/h2>\\n\\n<h3>Seiten auflisten<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/seiten?search=apache&parent_id=5&limit=50&offset=0<\/code><\/pre>\\n<table>\\n <tr><th>Parameter<\/th><th>Typ<\/th><th>Beschreibung<\/th><\/tr>\\n <tr><td>search<\/td><td>string<\/td><td>Suche in Titel und Pfad<\/td><\/tr>\\n <tr><td>parent_id<\/td><td>int<\/td><td>Filter nach Parent-Dokument<\/td><\/tr>\\n <tr><td>limit<\/td><td>int<\/td><td>Max. Ergebnisse (max 100)<\/td><\/tr>\\n <tr><td>offset<\/td><td>int<\/td><td>Pagination-Offset<\/td><\/tr>\\n<\/table>\\n\\n<h3>Seiten-Details<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/seiten\/{id}<\/code><\/pre>\\n<p>Liefert Seite mit Chunks und Unterseiten.<\/p>\\n\\n<h2>Chunks<\/h2>\\n\\n<h3>Chunks auflisten<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/chunks?category=Betriebsdokumentation&status=completed&limit=50<\/code><\/pre>\\n<table>\\n <tr><th>Parameter<\/th><th>Typ<\/th><th>Beschreibung<\/th><\/tr>\\n <tr><td>category<\/td><td>string<\/td><td>Taxonomie-Kategorie<\/td><\/tr>\\n <tr><td>status<\/td><td>string<\/td><td>pending, completed, error<\/td><\/tr>\\n <tr><td>search<\/td><td>string<\/td><td>Suche in Content und Keywords<\/td><\/tr>\\n <tr><td>limit<\/td><td>int<\/td><td>Max. Ergebnisse (max 100)<\/td><\/tr>\\n <tr><td>offset<\/td><td>int<\/td><td>Pagination-Offset<\/td><\/tr>\\n<\/table>\\n\\n<h3>Chunk-Details<\/h3>\\n<pre><code>GET \/api\/v1\/explorer\/chunks\/{id}<\/code><\/pre>\\n<p>Liefert Chunk mit allen Metadaten:<\/p>\\n<pre><code>{\\n \\\"id\\\": 42,\\n \\\"chunk_index\\\": 3,\\n \\\"content\\\": \\\"...\\\",\\n \\\"token_count\\\": 280,\\n \\\"taxonomy_category\\\": \\\"Betriebsdokumentation\\\",\\n \\\"taxonomy_path\\\": [\\\"Server\\\", \\\"Apache\\\", \\\"Konfiguration\\\"],\\n \\\"entities\\\": [\\n {\\\"name\\\": \\\"Apache\\\", \\\"type\\\": \\\"SOFTWARE\\\"},\\n {\\\"name\\\": \\\"mod_rewrite\\\", \\\"type\\\": \\\"COMPONENT\\\"}\\n ],\\n \\\"keywords\\\": [\\\"vhost\\\", \\\"ssl\\\", \\\"proxy\\\"],\\n \\\"analysis_status\\\": \\\"completed\\\",\\n \\\"qdrant_id\\\": \\\"abc123...\\\"\\n}<\/code><\/pre>\\n\\n<h2>Taxonomie<\/h2>\\n<pre><code>GET \/api\/v1\/explorer\/taxonomie<\/code><\/pre>\\n<p>Liefert Kategorien mit Counts und Top-Keywords:<\/p>\\n<pre><code>{\\n \\\"categories\\\": [\\n {\\\"taxonomy_category\\\": \\\"Betriebsdokumentation\\\", \\\"chunk_count\\\": 120, \\\"token_count\\\": 35000}\\n ],\\n \\\"top_keywords\\\": {\\n \\\"apache\\\": 45,\\n \\\"php\\\": 38,\\n \\\"mariadb\\\": 25\\n }\\n}<\/code><\/pre>\\n\\n<h2>Entities<\/h2>\\n<pre><code>GET \/api\/v1\/explorer\/entities<\/code><\/pre>\\n<p>Aggregierte Entities aus allen Chunks, gruppiert nach Typ:<\/p>\\n<pre><code>{\\n \\\"entities\\\": [\\n {\\\"name\\\": \\\"Apache\\\", \\\"type\\\": \\\"SOFTWARE\\\", \\\"count\\\": 45},\\n {\\\"name\\\": \\\"MariaDB\\\", \\\"type\\\": \\\"SOFTWARE\\\", \\\"count\\\": 38}\\n ],\\n \\\"by_type\\\": {\\n \\\"SOFTWARE\\\": [...],\\n \\\"COMPONENT\\\": [...],\\n \\\"PERSON\\\": [...]\\n },\\n \\\"total\\\": 250\\n}<\/code><\/pre>\\n\\n<h2>Hybrid-Suche<\/h2>\\n<pre><code>POST \/api\/v1\/explorer\/suche\\nContent-Type: application\/json\\n\\n{\\n \\\"query\\\": \\\"Apache SSL Konfiguration\\\",\\n \\\"category\\\": \\\"Betriebsdokumentation\\\",\\n \\\"limit\\\": 10\\n}<\/code><\/pre>\\n<p>Kombiniert Vektor- und Keyword-Suche:<\/p>\\n<pre><code>{\\n \\\"query\\\": \\\"Apache SSL Konfiguration\\\",\\n \\\"results\\\": [\\n {\\n \\\"chunk_id\\\": 42,\\n \\\"content\\\": \\\"...\\\",\\n \\\"score\\\": 0.92,\\n \\\"dokument_title\\\": \\\"Apache\\\",\\n \\\"taxonomy_category\\\": \\\"Betriebsdokumentation\\\"\\n }\\n ],\\n \\\"suggestions\\\": [\\\"mod_ssl\\\", \\\"Let's Encrypt\\\", \\\"HTTPS\\\"],\\n \\\"count\\\": 8\\n}<\/code><\/pre>\\n\\n<h2>Response-Format<\/h2>\\n<pre><code>{\\n \\\"success\\\": true,\\n \\\"data\\\": { ... },\\n \\\"meta\\\": {\\n \\\"total\\\": 450,\\n \\\"limit\\\": 50,\\n \\\"offset\\\": 0\\n }\\n}<\/code><\/pre>\\n\\n<h2>Datenmodell<\/h2>\\n\\n<h3>dokumentation<\/h3>\\n<table>\\n <tr><th>Feld<\/th><th>Typ<\/th><th>Beschreibung<\/th><\/tr>\\n <tr><td>id<\/td><td>int<\/td><td>Primärschlüssel<\/td><\/tr>\\n <tr><td>parent_id<\/td><td>int<\/td><td>Parent-Dokument<\/td><\/tr>\\n <tr><td>title<\/td><td>varchar<\/td><td>Titel<\/td><\/tr>\\n <tr><td>path<\/td><td>varchar<\/td><td>URL-Pfad<\/td><\/tr>\\n <tr><td>depth<\/td><td>int<\/td><td>Hierarchie-Tiefe (0=Root)<\/td><\/tr>\\n<\/table>\\n\\n<h3>dokumentation_chunks<\/h3>\\n<table>\\n <tr><th>Feld<\/th><th>Typ<\/th><th>Beschreibung<\/th><\/tr>\\n <tr><td>id<\/td><td>int<\/td><td>Primärschlüssel<\/td><\/tr>\\n <tr><td>dokumentation_id<\/td><td>int<\/td><td>FK zu dokumentation<\/td><\/tr>\\n <tr><td>chunk_index<\/td><td>int<\/td><td>Position in Dokument<\/td><\/tr>\\n <tr><td>content<\/td><td>text<\/td><td>Chunk-Inhalt<\/td><\/tr>\\n <tr><td>token_count<\/td><td>int<\/td><td>Token-Anzahl<\/td><\/tr>\\n <tr><td>taxonomy_category<\/td><td>varchar<\/td><td>Kategorie<\/td><\/tr>\\n <tr><td>taxonomy_path<\/td><td>json<\/td><td>Pfad im Taxonomie-Baum<\/td><\/tr>\\n <tr><td>entities<\/td><td>json<\/td><td>Extrahierte Entities<\/td><\/tr>\\n <tr><td>keywords<\/td><td>json<\/td><td>Keywords<\/td><\/tr>\\n <tr><td>analysis_status<\/td><td>enum<\/td><td>pending, completed, error<\/td><\/tr>\\n <tr><td>qdrant_id<\/td><td>varchar<\/td><td>Qdrant-Vektor-ID<\/td><\/tr>\\n<\/table>\\n\\n<h2>Verwandte Dokumentation<\/h2>\\n<ul>\\n <li><a href=\\\"\/docs\/anwendungen\/semantic-explorer\\\">Semantic Explorer<\/a><\/li>\\n <li><a href=\\\"\/docs\/ki-system\/qdrant\\\">Qdrant Vektor-Datenbank<\/a><\/li>\\n <li><a href=\\\"\/docs\/ki-system\/pipeline\\\">Pipeline-Übersicht<\/a><\/li>\\n<\/ul>\",\n \"status\": \"published\",\n \"sort_order\": 4,\n \"depth\": 1,\n \"created_at\": \"2025-12-20T13:39:32\",\n \"updated_at\": \"2025-12-20T13:39:32\"\n }\n}"
}
]
}