Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Channels → get_channel_messages_api_v1_channels__id__messages_get

AI-generated

Summary

Retrieve a list of messages from a specified channel by its ID, with optional pagination via skip and limit query parameters.

Inputs

  • id (required) — The unique identifier of the channel to fetch messages for, passed as a path parameter.
  • skip — Number of messages to skip before starting to collect the result set, used for pagination.
  • limit — Maximum number of messages to return in the response, used for pagination.
  • skipAuthentication — Boolean flag to skip authentication when making the request. Defaults to false.

Output shape

a list of messages belonging to the specified channel

Supports pagination with optional skip and limit query parameters. Requires authentication unless explicitly skipped. Messages are retrieved via a GET request to the path /api/v1/channels/{id}/messages.

Examples

Example 1: Fetch the first 50 messages of a given channel

Set 'id' path parameter to the channel's ID with default skip=0 and limit=50 query parameters.

Links

Discussion