Skip to main content

APIs

Secure Chat API

The Secure Chat API is an authenticated chat API for published agents. Requests must include a workspace API key and the key must match the workspace in the request.

Authentication

Secure chat requires a workspace API key:

  • keys are managed per workspace
  • keys can be revoked and can expire

Security

Keep API keys out of browsers. Call Secure Chat from trusted servers only.

Streaming vs Non-Streaming

Secure chat supports streaming and non-streaming responses. Use streaming for interactive chat UIs and non-streaming for batch or tool-style requests.