Skip to content

Commit 17a7960

Browse files
feat: Persist stable managed auth completion timestamps
Stainless-Generated-From: 6427817227cf91c697de16f53ac309df45b1b532
1 parent 41059ae commit 17a7960

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/kernel/types/auth/managed_auth_timeline_event.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ class ManagedAuthTimelineEvent(BaseModel):
3838
browser_session_id: Optional[str] = None
3939
"""Browser session that produced the event, if one was created."""
4040

41+
completed_at: Optional[datetime] = None
42+
"""When the login/reauth attempt first reached a terminal status.
43+
44+
Stable across retries and subsequent cleanup writes. Absent for in-progress
45+
attempts, health checks, and historical attempts without a recorded completion
46+
time.
47+
"""
48+
4149
error_code: Optional[str] = None
4250
"""Machine-readable error code. Present when a login/reauth event failed."""
4351

0 commit comments

Comments
 (0)