Python
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(blueprint_instance_id="<id>", user_message="<value>", timeout_seconds=None, include_thinking=True, include_tool_activity=True) # Handle response print(res)
{ "signal_id": "<string>", "response": { "message": "", "sources": [ { "title": "<string>", "url": "<string>", "snippet": "<string>", "data_element_id": "<string>", "relevance_score": 123 } ], "follow_up_questions": [ "<string>" ], "call_to_actions": [ { "label": "<string>", "action": "<string>", "action_data": {} } ], "artifacts": [ { "artifact_id": "<string>", "filename": "<string>", "mime_type": "<string>", "content": "<string>", "storage_url": "<string>", "size_bytes": 123, "created_at": "<string>" } ] }, "assistant_response": "<string>", "tool_activity": [ { "tool_id": "<string>", "tool_name": "<string>", "arguments": {}, "timestamp": "<string>", "result": {} } ], "thinking": "<string>", "token_usage": {} }
Request body for chat message endpoints.
The user's chat message
Successful Response
Response from the non-streaming chat endpoint.
Unique ID for this message exchange
The structured response
Show child attributes
The assistant response in text-format
Was this page helpful?