Skip to main content
POST
/
{blueprint_instance_id}
/
chat
/
stream
Python (SDK)
from meibelai import Meibelai
import os


with Meibelai(
    api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:

    res = m_client.blueprints.executions.send_chat_message_stream_blueprint_instance_id_chat_stream_post(blueprint_instance_id="<id>", user_message="<value>", timeout_seconds=290915, include_thinking=False, include_tool_activity=None)

    # Handle response
    print(res)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

blueprint_instance_id
string
required

Body

application/json

Request body for chat message endpoints.

user_message
string
required

The user's chat message

timeout_seconds
integer | null
include_thinking
boolean | null
include_tool_activity
boolean | null

Response

Successful Response