Direct API · Blocked / Requires Spoofing ❌
direct-api/ on GitHub →
Direct API (Raw HTTP / cURL)
Directly calling AgentRouter base URL in custom code via raw HTTP/cURL is blocked by Cloudflare WAF design without spoofing headers.
Required WAF Bypass Headers
If attempting direct requests from custom scripts, Cloudflare WAF returns unauthorized client unless client headers are spoofed:
Originator: codex_cli_rs Version: 0.101.0 User-Agent: codex_cli_rs/0.101.0 (Mac OS 26.0.1; arm64) Apple_Terminal/464
Live API Tester
Response Output
Response output will appear here...
Generated cURL Command
7-Language Code Snippets
Bug or Question?
Open an issue on GitHub to report unexpected behavior or ask questions.