Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Delete a specific message from a thread. NEW endpoint for selective message removal with proper authorization.
DELETEhttps://api.freddy.aitronos.com/v1/threads/{thread_id}/messages/{message_id}

Delete a specific message from a thread. This is a new endpoint that provides selective message removal capabilities with proper authorization and audit trails.

Path Parameters

thread_id string required

The unique identifier of the thread containing the message.

message_id string required

The unique identifier of the message to delete.

Bash
curl -X DELETE "https://api.freddy.aitronos.com/v1/threads/thread_abc123/messages/msg_abc123" \
  -H "Authorization: Bearer $FREDDY_API_KEY"

Response

{
  "success": true,
  "threadId": "thread_abc123",
  "message": "Thread messages deleted successfully"
}