cases

Stream cases chat response as SSE

Deprecated: superseded by POST /cases/chat/completion and POST /cases/chat/choices.

The response is a server-sent events stream using Anthropic-compatible event names and payloads.

Event types emitted during the stream:

  • content_block_start / content_block_delta / content_block_stop: proxied Anthropic content block events
  • message_delta: proxied Anthropic turn metadata
  • error: {"type": "error", "error": {"type": "...", "message": "..."}}
post/cases/chat/stream

Request body

modelstring

Optional LLM model override. Falls back to server default if not specified.

notebooksobject[] required

Current notebook JSON objects

provider'anthropic' | 'bedrock'

LLM provider. "anthropic" for direct API, "bedrock" for AWS Bedrock. Defaults to "bedrock".

structured_viewboolean

Ignored. Kept only so requests from older frontends (which always sent this field) pass validation; remove once they are gone.

thinkingboolean

When true, the LLM call is made with Anthropic extended thinking enabled using a server-side fixed token budget. Thinking content blocks are streamed as regular content_block events.

Response

SSE stream started successfully

Changes