Modify Message

Go to Product

Modifies a message.

Options

OpenAI Beta
Calls to the Assistants API require that you pass a beta HTTP header.
Thread Id
The ID of the thread to which this message belongs.
Message Id
The ID of the message to modify.
Body
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.

  • Id: The identifier, which can be referenced in API endpoints.
  • Object: The object type, which is always thread.message.
  • Created At: The Unix timestamp (in seconds) for when the message was created.
  • Thread Id: The thread ID that this message belongs to.
  • Status: The status of the message, which can be either in_progress, incomplete, or completed.
  • Incomplete Details: On an incomplete message, details about why the message is incomplete.
  • Completed At: The Unix timestamp (in seconds) for when the message was completed.
  • Incomplete At: The Unix timestamp (in seconds) for when the message was marked as incomplete.
  • Role: The entity that produced the message. One of user or assistant.
  • Content: The content of the message in array of text and/or images.
  • Assistant Id: If applicable, the ID of the assistant that authored this message.
  • Run Id: The ID of the run associated with the creation of this message. Value is null when messages are created manually using the create message or create thread endpoints.
  • Attachments: A list of files attached to the message, and the tools they were added to.
  • Metadata:

    Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.

    Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

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.