Files
html/api/wevia-public-wiki.php
2026-04-12 22:57:03 +02:00

40 lines
1.6 KiB
PHP

<?php
// WAVE 165 — Public wiki endpoint (sanitized, no confidential)
header("Content-Type: application/json; charset=utf-8");
header("Access-Control-Allow-Origin: *");
header("Cache-Control: public, max-age=300");
$pipe = @shell_exec("curl -s --max-time 5 https://weval-consulting.com/api/weval-unified-pipeline.php");
$d = @json_decode($pipe, true);
$out = [
"wiki" => "WEVIA Engine Knowledge Base",
"about" => "WEVIA is a sovereign AI orchestration platform built by WEVAL Consulting for autonomous consulting, pharma outreach, and quality engineering. Zero vendor lock-in, 100% sovereign AI providers, zero monthly cost.",
"capabilities" => [
"Sovereign AI orchestration across 14+ free providers",
"Automated consulting workflows",
"Pharma HCP outreach (Morocco, Tunisia, Algeria)",
"Quality engineering L99 framework",
"Self-healing infrastructure",
"Multi-agent execution plans",
"Visual regression testing",
],
"metrics" => $d ? [
"quality" => ($d["l99"]["pct"] ?? 100) . "%",
"status" => $d["l99"]["health"] ?? "unknown",
"automation" => count($d["routines"] ?? []) . " routines",
"hcps_reached" => intval(($d["ethica"]["hcps_validated"] ?? 0) / 1000) . "K+",
] : ["status" => "unavailable"],
"public_endpoints" => [
"/api/wevia-public-status.php",
"/api/wevia-public-wiki.php",
"/index.html",
"/wevia.html",
],
"contact" => "contact@weval-consulting.com",
"version" => "WEVIA v4.6",
"updated_at" => date("c"),
];
echo json_encode($out, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);