aws / aws/bedrock-agentcore-sdk-python

List active *runtime* sessions through the SDK

Open
#402 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
761
Forks
147
Avg merge
1d 23h
Merged PRs (30d)
7

Description

**Is your feature request related to a problem? Please describe.**
I'm frustrated there isn't a way to list active runtime sessions programatically.

I'm under the impression that neither `idle_runtime_session_timeout=60` nor `stop_runtime_session` are closing sessions since my memory consumption is not going to 0 - so have an API/SDK function for finding and closing these sessions would help.

**Describe the solution you'd like**
I'd like to list active runtime sessions **(not memory sessions)** through the SDK so I can kill then using `stop_runtime_session` depending on their state.

**Describe alternatives you've considered**
I've tried looking for APIs or documentation on how to have access to runtime session, but found nothing about it.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.