Skip to content

ItemStartedData

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  2804480159["event_data.ItemStartedData"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 2804480159
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Payload for item/started notification (V2 protocol).

Source code in src/codexed/models/event_data.py
class ItemStartedData(CodexBaseModel):
    """Payload for item/started notification (V2 protocol)."""

    thread_id: str
    turn_id: str
    item: ThreadItem
    started_at_ms: int
    """Unix timestamp (in milliseconds) when this item lifecycle started."""

started_at_ms instance-attribute

started_at_ms: int

Unix timestamp (in milliseconds) when this item lifecycle started.

:fa-brands-github: Show source on GitHub