Ask Hailey

A minimal third-party demo: this page (aidemo.ddg.mx) sends your question server-side to the Hailey AI gateway at ask.hailey.io and renders the answer. Your browser never talks to the API.

Options — per-request gateway flags
The API call — see this request as code (curl · PHP · JS · Go)
curl https://ask.hailey.io/v1/chat/completions \
  -H "Authorization: Bearer $HAILEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-4-5",
    "messages": [{"role": "user", "content": "Your question here"}]
  }'
Updates live as you type the question and change Options. Get your own key at hailey.io/developers.
Automated actions — what an integration sees. Each button fires real API calls asking Hailey for a random number (digits only, machine-parsed) and reports per-call timings. Series = one after another (a cron job); parallel = all at once (a fan-out worker) — compare the throughput.