APIs
Public Chat API
The Public Chat API allows unauthenticated chat with a published agent. It is intended for browser-based experiences and embeds, controlled by allowed origins.
Endpoint
The Public Chat API is called with:
workspaceIdagentId
Origin Rules (CORS)
If the integration is configured with allowed origins, requests from other origins are rejected.
Important
Public chat is not API-key protected by default. Use allowed origins to restrict where browser calls can be made from.
Streaming vs Non-Streaming
The API supports both:
- streaming responses (best for chat UIs)
- non-streaming responses (simple integrations)