from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Get learning status
result = client.sessions.get_learning_status(session_id='session-uuid')
print(f"Space digested: {result.space_digested_count}, Not digested: {result.not_space_digested_count}"){
"code": 123,
"error": "<string>",
"msg": "<string>",
"data": {
"not_space_digested_count": 123,
"space_digested_count": 123
}
}Get learning status for a session. Returns the count of space digested tasks and not space digested tasks. If the session is not connected to a space, returns 0 and 0.
from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Get learning status
result = client.sessions.get_learning_status(session_id='session-uuid')
print(f"Space digested: {result.space_digested_count}, Not digested: {result.not_space_digested_count}"){
"code": 123,
"error": "<string>",
"msg": "<string>",
"data": {
"not_space_digested_count": 123,
"space_digested_count": 123
}
}Project Bearer token (e.g., "Bearer sk-ac-xxxx")
Session ID