from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Pagination - iterate over all items
for item in client.agents.sessions.list("agent_id_value"):
print(item){
"data": [
{
"session_id": "<string>",
"status": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"agent_name": "<string>",
"agent_version": "<string>",
"messages_count": 0,
"token_usage": {},
"result": []
}
],
"total": 123
}from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Pagination - iterate over all items
for item in client.agents.sessions.list("agent_id_value"):
print(item){
"data": [
{
"session_id": "<string>",
"status": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"agent_name": "<string>",
"agent_version": "<string>",
"messages_count": 0,
"token_usage": {},
"result": []
}
],
"total": 123
}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.
Number of items to skip
x >= 0Maximum number of items to return
x >= 1Field to sort by: start_time, status
Sort order: asc or desc
^(asc|desc)$Filter by execution status: RUNNING, COMPLETED, FAILED, CANCELED, TERMINATED
Was this page helpful?