cases
Stream a plain-text cases chat completion as SSE
Changed onGenerate a plain-text answer to the user's question with the LLM and stream it as server-sent events. The stream uses a minimal custom protocol (no Anthropic event objects, no tool use):
- event: delta / data: {"text": "<text chunk>"}
- event: done / data: {}
- event: error / data: {"message": "<error message>"}
post/cases/chat/completion
Request
- Base URLhttps://api-docs.matlantis.com/api
- AuthAPI key in cookie mtls-prd
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"parameters": [
{
"value_type": "number"
}
]
}Response
SSE stream started successfully
Changes
- info
added the new
fileenum value to the request property//
- info