Get global message history
Retrieve message history across all sessions with optional pagination
Retrieve message history across all sessions with optional pagination
Query Parameters
limit?integer
Maximum number of messages to return
Default
50
Range
1 <= value <= 1000
offset?integer
Number of messages to skip
Default
0
Range
0 <= value
Response Body
from mix_python_sdk import Mixwith Mix() as mix: res = mix.messages.get_history(limit=50, offset=0) # Handle response print(res)
[
{
"assistantResponse": "string",
"id": "string",
"reasoning": "string",
"reasoningDuration": 0,
"role": "string",
"sessionId": "string",
"toolCalls": [
{
"finished": true,
"id": "string",
"input": "string",
"isError": true,
"name": "bash",
"result": "string",
"type": "string"
}
],
"userInput": "string"
}
]
{
"error": {
"code": 0,
"message": "string",
"type": "bad_request"
}
}
{
"error": {
"code": 0,
"message": "string",
"type": "bad_request"
}
}