Linq icon

Linq

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

Chat Message → Get Thread

AI-generated

Summary

Fetch a thread of messages for a given chat message.

Inputs

  • cursor — Pagination cursor for the thread.
  • limit — Maximum number of messages to return (default 50).
  • chatMessageId — ID of the chat message whose thread to retrieve.
  • order — Sort order for messages ('asc' or 'desc').

Output shape

An array of chat message objects representing the thread.

Pagination is controlled by cursor and limit; the response may include fields like id, text, timestamp, and references to parent messages.

Examples

Example 1: Retrieve the last 10 messages of a thread, ordered newest first.

Set Chat Message ID to '12345', Order to 'desc', Limit to 10.

Links

Discussion