Skip to content

ThreadAttachmentAddParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Parameters for creating or locating an attachment on its owning thread.

Source code in src/codexed/models/v2_protocol.py
class ThreadAttachmentAddParams(CodexBaseModel):
    """Parameters for creating or locating an attachment on its owning thread."""

    attachment_type: str
    identity_key: str
    payload: Any
    thread_id: str

:fa-brands-github: Show source on GitHub