# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from datetime import datetime
from typing_extensions import Literal

from ...._models import BaseModel

__all__ = ["BetaManagedAgentsSessionStatusTerminatedEvent"]


class BetaManagedAgentsSessionStatusTerminatedEvent(BaseModel):
    """Indicates the session has terminated, either due to an error or completion."""

    id: str
    """Unique identifier for this event."""

    processed_at: datetime
    """A timestamp in RFC 3339 format"""

    type: Literal["session.status_terminated"]
