Skip to main content

Module routes

Module routes 

Source
Expand description

HTTP Routes for AG-UI Server

This module provides the HTTP endpoints for AG-UI protocol:

  • /sse - Server-Sent Events endpoint
  • /ws - WebSocket endpoint
  • /health - Health check endpoint

Structs§

CopilotKitBody
CopilotKitParams
CopilotKitRequest
CopilotKit request body structure. CopilotKit wraps requests in an envelope with method, params, and body.

Functions§

health
Health check endpoint.
info
Runtime info endpoint for CopilotKit.
post_message
POST endpoint for receiving messages via HTTP.
sse_handler
SSE endpoint for streaming AG-UI events.
ws_handler
WebSocket endpoint for streaming AG-UI events.