List running background tasks for a session
background-tasks
List running background tasks for a session
List all currently running background tasks for session_id.
Args:
session_id (str):
The session to query.
_ (str):
The authenticated user ID (unused, required for auth check).
bg_manager (BackgroundTaskManager):
The application-wide background task manager.
Returns:
ListBackgroundTasksResponse:
Tasks belonging to session_id and their total count.
GET
List running background tasks for a session
Documentation Index
Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.