Skip to content

Variable: GenieChatLocationSchema

const GenieChatLocationSchema: ZodObject<{ attachment_id: ZodOptional<ZodString>; conversation_id: ZodOptional<ZodString>; message_id: ZodOptional<ZodString>; space_id: ZodString; }, $strip>

Where on the wire an event was observed. Spread into every attachment-scoped event payload so subscribers can route, log, or correlate without re-walking the message.

Fields:

  • space_id: the Genie space the conversation lives in.
  • conversation_id: conversation id once Genie has assigned one.
  • message_id: Genie message id for the active turn.
  • attachment_id: attachment the event came from. Optional because Genie sometimes emits an anonymous main-answer attachment without an id; those still get events, just with attachment_id undefined.