Linq icon

Linq

Interact with Linq API (community-built; not affiliated with Linq App Inc.)

Chat Message → Get Many

AI-generated

Summary

Retrieve many chat messages

Inputs

  • cursor — Cursor for pagination
  • limit — Max number of results to return
  • chatId — The ID of the chat

Output shape

a list of chat message objects

May include pagination via a returned cursor; fields are generally optional unless specified by the endpoint

Examples

Example 1: Fetch up to 30 recent messages from a chat

cursor=&limit=30&chatId=chat_98765

Example 2: Paginate through a chat's message history

cursor=previous&limit=50&chatId=chat_98765

Links

Discussion