Get a specific session
Retrieve detailed information about a specific session
Retrieve detailed information about a specific session
from mix_python_sdk import Mixwith Mix() as mix: res = mix.sessions.get(id="<id>") # Handle response print(res)
{
"assistantMessageCount": 0,
"completionTokens": 0,
"cost": 0.1,
"createdAt": "2019-08-24T14:15:22Z",
"firstUserMessage": "string",
"id": "string",
"promptTokens": 0,
"title": "string",
"toolCallCount": 0,
"userMessageCount": 0
}
{
"error": {
"code": 0,
"message": "string",
"type": "bad_request"
}
}