Relay a GET to the board's GenAI Studio backend
GET/api/genai/:subpath
Forwards the request, with its query string, to the configured board and streams the response back unchanged: status, body, content type and the Studio's X-* headers. Server-sent event streams such as models/logs/stream pass through unbuffered, and binary answers such as the JPEG from board-camera/snapshot?device=/dev/videoN byte for byte. The board's self-signed certificate is accepted for the configured address only.
Request
Responses
- 200
- 404
- 500
- 502
- 503
The board's response, passed through.
Not a path Insight relays.
Insight's cfg.json exists but could not be read (cfg-unreadable); nothing is relayed rather than falling back to another board.
The board could not be reached.
No board address is configured or derivable (not-configured), or the saved address is not valid (invalid-address).