from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = ChatMessageRequest(name="Example")
result = client.agents.sessions.send_chat_message("session_id_value", body=body)
print(result){
"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": {}
}from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = ChatMessageRequest(name="Example")
result = client.agents.sessions.send_chat_message("session_id_value", body=body)
print(result){
"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": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request body for chat message endpoints.
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
Tool calls made during response generation
Show child attributes
LLM thinking/reasoning content
Token usage statistics
Show child attributes
Was this page helpful?