Submits a free-form question and blocks until the synthesized
answer is ready (hard ceiling 240s) — same shape as
POST /api/v1/ask, but paid per call via x402.
Body validation runs after payment is settled — the payment
middleware does not inspect request bodies, so a missing or
invalid question is reported as 400 post-payment. Callers
are responsible for sending a valid body before signing payment.
Base64-encoded signed payment payload as defined by the
x402 protocol. Omit on the first attempt to
receive the 402 challenge in the PAYMENT-REQUIRED response
header; include it on the retry to settle payment and receive
the resource.
The legacy header name X-PAYMENT is also accepted by the
server for backward compatibility — clients may send either,
but Payment-Signature is preferred.
See x402.org for the on-the-wire shape of
the PaymentRequired challenge and the settlement receipt
returned in the PAYMENT-RESPONSE response header.
The free-form question to answer.
1 - 4000