Vettero

Get Messages

Fetch messages from a session by session id, with optional range and paging.

Type

chat.get-messages
Block Tool Chat
Folderchat
Channels

Any

Pipe

Value

Scope

Any

Get Messages loads messages from a chat session. Use it after Start Chat, Handover, or whenever you already have a session id (for example session.id on a chat workflow).

Configure

SettingDescription
Session IDSession to read (required). Literal or variable
From Message IDOptional start of the range
To Message IDOptional end of the range
LimitMax messages to return. Default 50, 1–500
PagePage number. Default 1

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after messages are loaded

Pipe schema

The next block reads this on the data pipe (pipe.value).

FieldTypeDescription
messageslist<Message>Messages in chronological order
totalnumberHow many messages were returned

Each Message includes:

FieldTypeDescription
idtextMessage id
fromobjectSender: type (agent or user) and id
typetextKind of message
contentanyText or a structured payload
timestampdatetimeWhen it was sent

Use case

  • Load the last messages before Summarize Chat.
  • Inspect a range after handover using the start and end message ids on the handover pipe.
Copyright © 2026