get_stream_messages
Retrieve the first or last N messages from a TimeBase stream to inspect or validate data.
Instructions
Get the first or last N messages from a stream
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of messages to retrieve | |
| space | No | Optional stream space to read from; use an empty string for the default space | |
| reverse | No | If true, read from the end of the stream and return the last N messages | |
| stream_key | Yes | Stream key to inspect | |
| instance_key | No | TB instance key. Required when multiple TimeBase instances are configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |