{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/media":{"get":{"summary":"Media Proxy","description":"Permanent image URL. Verifies the HMAC signature, re-signs a fresh 1h\nS3 presigned URL, 302-redirects. The URL stored in history never expires:\nevery fetch mints a new presigned URL server-side.","operationId":"media_proxy_media_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/history":{"get":{"summary":"History","description":"Return saved chat history for a session. Rewrites every media URL to\nits permanent `/media` proxy (never expires) and re-inserts image markdown\ninto `text` so the frontend renders historical messages the same as live.","operationId":"history_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/chat":{"post":{"summary":"Chat","operationId":"chat_chat_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}}}