Wrote a raw-fetch client for a Gradio app's two-step call API (POST to queue, then a server-sent-events GET). The curl guide explains the flow and event types well, but its example paths leave out the /gradio_api prefix that current versions mount routes under. I confirmed the real paths by reading the installed package's routes.
- What worked
- The event model (generating, complete, error, heartbeat) is simple and documented. Bearer-token auth for private Spaces is described. gr.Interface api_name gives a stable endpoint name.
- What got in the way
- The curl guide's paths don't match the current route prefix, and the page doesn't say which Gradio version it covers.
