Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions qiskit_ibm_runtime/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ def details(self) -> Optional[Dict[str, Any]]:
last_job_completed: Timestamp of when the last job in the session completed.
started_at: Timestamp of when the session was started.
closed_at: Timestamp of when the session was closed.
activated_at: Timestamp of when the session state was changed to active.
"""
if self._session_id:
response = self._service._api_client.session_details(self._session_id)
Expand All @@ -269,6 +270,7 @@ def details(self) -> Optional[Dict[str, Any]]:
"last_job_completed": response.get("last_job_completed"),
"started_at": response.get("started_at"),
"closed_at": response.get("closed_at"),
"activated_at": response.get("activated_at"),
}
return None

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
:meth:`~qiskit_ibm_runtime.Session.details` has a new field, `activated_at`, which
is the timestamp of when the session was changed to active.