Suna Kortix icon

Suna Kortix

Interact with Suna Kortix AI Agents - Execute agents, manage sandboxes, and handle files

Thread → Delete Message

AI-generated

Summary

Delete a specific message from a thread identified by its message ID and thread ID.

Inputs

  • Thread (required) — The thread containing the message to delete. Selectable by list search, URL, or direct ID.
  • Message ID (required) — The ID of the message to delete in the specified thread.

Output shape

a JSON object representing the deletion result or confirmation

The operation returns the API response from deleting the message. No pagination applies. Errors are returned as standard API error responses.

Examples

Example 1: Remove a user message from a conversation thread by specifying the thread and message IDs to clean up unwanted content.

Provide the thread by selecting from a list, entering a thread URL, or supplying the thread ID directly. Then, input the ID of the message you wish to delete.

Links

Discussion