Mcp Query Details
Get detailed search query analytics from the main database.
Query params: days (int, optional): Number of days to analyze (default 7)
Returns: { "total_searches": integer, "direct_only_pct": float (0-100), "period_days": integer, "top_origins": [{"code": "JFK", "count": 100}, ...], "top_destinations": [{"code": "LHR", "count": 100}, ...], "top_routes": [{"route": "JFK-LHR", "count": 50}, ...], "cabin_distribution": {"Y": 200, "W": 50, "J": 30, "F": 10}, "top_programs": [{"program": "united", "count": 150}, ...], "searches_by_hour": [{"hour": 0, "count": 10}, {"hour": 1, "count": 15}, ...] }
get/api/admin/mcp/query-details
Request
- Base URL: https://www.awardflightdaily.com (the document declares no server; this is the origin it was published from)
- URL: https://www.awardflightdaily.com/api/admin/mcp/query-details
- Auth: none declared
Query parameters
daysinteger
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.