نقاط الصحة
---
GET ${API_URL}/health · GET ${SCRAPER_URL}/health · GET ${AI_BOX_URL}/health · ${OS_URL}/_cluster/health
مزيد من الأوامر: راجع قسم حالة الخدمة أدناه.
sequenceDiagram
autonumber
participant SCR as Scraper
participant API as واجهة API
participant OS as OpenSearch
participant AI as AI‑Box
SCR->>API: POST /ingest
API->>OS: فهرسة
API->>AI: إعادة ترتيب/إثراء
AI-->>API: نتائج
API-->>Client: استجابة البحث
sequenceDiagram
autonumber
participant Client as العميل
participant API as واجهة API
participant OS as OpenSearch
participant AI as AI‑Box
Client->>API: /search
API->>OS: _search
Note right of API: إذا تجاوزت مهلة AI‑Box 1500ms، قدّم نتائج معجمية الآن
API-->>Client: 200 {"degraded": true}