MCPcopy Create free account
hub / github.com/modelscope/ms-agent / get_session

Function get_session

webui/backend/api.py:241–246  ·  view source on GitHub ↗

Get session details

(session_id: str)

Source from the content-addressed store, hash-verified

239
240@router.get('/sessions/{session_id}')
241async def get_session(session_id: str):
242 """Get session details"""
243 session = session_manager.get_session(session_id)
244 if not session:
245 raise HTTPException(status_code=404, detail='Session not found')
246 return session
247
248
249@router.delete('/sessions/{session_id}')

Callers

nothing calls this directly

Calls 1

get_sessionMethod · 0.80

Tested by

no test coverage detected