{"openapi":"3.1.0","info":{"title":"UAE Decision Engine (Emirates Intelligence OS) — Live Data","description":"Advisory engines grounded exclusively in live, source-cited records from the Open Emirates Intelligence server (https://uaemcp.zad.tools). Engines without a live data source return an honest NO_LIVE_SOURCE envelope — never demo data.","version":"2.0.0"},"paths":{"/":{"get":{"summary":"Get Index","operationId":"get_index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/decide":{"post":{"summary":"Decide","operationId":"decide_api_v1_decide_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources":{"get":{"summary":"List Registered Sources","description":"The 32-source official registry, fetched live (cached 5 min).","operationId":"list_registered_sources_api_v1_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sources/{source_id}/records":{"get":{"summary":"Source Records","description":"Live records for a source (only sources with a record API return rows).","operationId":"source_records_api_v1_sources__source_id__records_get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10,"title":"Limit"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/{source_id}/health":{"get":{"summary":"Source Health","operationId":"source_health_api_v1_sources__source_id__health_get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intelligence/dashboard-summary":{"get":{"summary":"Dashboard Summary","description":"Live health/status summary of all registered sources.\n\nStatuses are relayed as-is from the upstream probe (government portals may\nhonestly report \"down\" due to bot-mitigation) with the upstream timestamp.","operationId":"dashboard_summary_api_v1_intelligence_dashboard_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/intelligence/market-snapshot":{"get":{"summary":"Market Snapshot","operationId":"market_snapshot_api_v1_intelligence_market_snapshot_get","parameters":[{"name":"topic","in":"query","required":false,"schema":{"type":"string","default":"industry","title":"Topic"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"summary":"Readiness Check","operationId":"readiness_check_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metrics":{"get":{"summary":"Metrics","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reference":{"get":{"summary":"Api Reference","operationId":"api_reference_reference_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"DecideRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"DecideRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}