Actions28
- Agent Actions
- Project Actions
- Sandbox Actions
- Tasks/Messages Actions
- Thread Actions
Thread → Delete Message
AI-generatedSummary
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.