Get Chat Completion Messages

Go to Product

Get the messages in a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned.

Options

Completion Id
The ID of the chat completion to retrieve messages from.
Set After
Enable to set the optional field After
After
Identifier for the last message from the previous pagination request.
Set Limit
Enable to set the optional field Limit
Limit
Number of messages to retrieve.
Set Order
Enable to set the optional field Order
Order
Sort order for messages by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Object: The type of this object. It is always set to "list".
  • Data: An array of chat completion message objects.
  • First Id: The identifier of the first chat message in the data array.
  • Last Id: The identifier of the last chat message in the data array.
  • Has More: Indicates whether there are more chat messages available.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.