Observability
Health endpoints
AI modes
| Mode | USE_AI_STUBS | Behavior |
|---|---|---|
| Stub | true | Deterministic responses, no API calls, fast |
| Real | false | Live Gemini/Veo/ElevenLabs calls, requires API keys |
/api/health response tells you which mode is active:
Debugging tips
- Check
ai_modefirst — most generation issues are caused by running in stub mode without realizing it storage_mode: "local"means media is served from/media/mount, not S3- Backend logs include
[iris.*]prefixed logger names for each subsystem - The agent chat endpoint streams SSE events — use browser DevTools Network tab to inspect the event stream in real time
Job tracking
Long-running operations (generate, export, propagate) are background jobs. Poll status via:status field: pending → processing → done | error.