Skip to content

ThreadRealtimeListParams

Base classes

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

⋔ Inheritance diagram

graph TD
  1081529875["v2_protocol.ThreadRealtimeListParams"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1081529875
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ThreadRealtimeListParams(CodexBaseModel):
    after_position: int | None = Field(None, ge=0)
    cursor: str | None = None
    event_id: str | None = None
    """
    A required exact event ID, such as a completed item's acknowledgement. Returns pending until projected. Explicit filters can exclude a known event.
    """
    from_observed_at_ms: int | None = None
    """
    Inclusive canonical observation time lower bound.
    """
    limit: int | None = Field(None, ge=0)
    order: ThreadRealtimeOrder | None = None
    """
    Defaults to canonical observation time.
    """
    required_through_position: int | None = Field(None, ge=0)
    """
    Return pending until the projection includes this committed position.
    """
    session_id: str | None = None
    snapshot_end: int | None = Field(None, ge=0)
    """
    Exclusive committed position delimiting an immutable snapshot.
    """
    thread_id: str
    to_observed_at_ms: int | None = None
    """
    Exclusive canonical observation time upper bound.
    """

event_id class-attribute instance-attribute

event_id: str | None = None

A required exact event ID, such as a completed item's acknowledgement. Returns pending until projected. Explicit filters can exclude a known event.

from_observed_at_ms class-attribute instance-attribute

from_observed_at_ms: int | None = None

Inclusive canonical observation time lower bound.

order class-attribute instance-attribute

order: ThreadRealtimeOrder | None = None

Defaults to canonical observation time.

required_through_position class-attribute instance-attribute

required_through_position: int | None = Field(None, ge=0)

Return pending until the projection includes this committed position.

snapshot_end class-attribute instance-attribute

snapshot_end: int | None = Field(None, ge=0)

Exclusive committed position delimiting an immutable snapshot.

to_observed_at_ms class-attribute instance-attribute

to_observed_at_ms: int | None = None

Exclusive canonical observation time upper bound.

:fa-brands-github: Show source on GitHub