chat_gemini

Chat Gemini Stream

Stream agent-loop events as SSE. Gated by FF_AGENT_LOOP.

§3.11 tenancy boundary: context.user_id is overwritten with the JWT-verified subject (user["sub"]). The body's claimed user_id is ignored — this is the point where the model (or a malicious client) cannot forge tenancy. Tools downstream rely on context.user_id being trustworthy when running ownership checks.

post/api/chat/gemini/stream

Request

  • Base URL: https://api.pcbgenerator.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pcbgenerator.com/api/chat/gemini/stream
  • Auth: HTTP bearer

Request body

messagestring required
contextobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.