Skip to main content

Key request sequences

Time moves from top to bottom. Vertical lines represent participants; arrows represent calls or responses. Use these diagrams when following network logs or API code.

File upload

The API's registration response and video processing completion are separate events. See state transitions for subsequent indexing and PLOG generation.

Browser login

Better Auth runs at the API's /api/auth/*. This is separate from issuing and refreshing OAuth tokens for MCP.

Asking about a course

Information retrieval repeats as needed. This is a Q&A overview; there are also metadata-only paths and non-streaming responses.

Related: Authentication and access control, Prompt design.