Staff-only endpoints for translating messages, paraphrasing thread titles, fixing grammar, and summarizing threads.
Translates a message.
Field Type Description content string The content of the message to be translated (1-2000 characters) locale string The locale to translate the message into (1-10 characters)
Field Type Description content 1 string The translated content of the message
1 If the AI cannot translate the message, the original content will be returned.
Paraphrases the title of a thread.
Field Type Description content string The content of the message to be paraphrased (1-2000 characters)
Field Type Description title string The paraphrased title of the thread
Fixes the grammar of a message.
Field Type Description content string The content of the message to be corrected (1-2000 characters)
Field Type Description content string The message with corrected grammar
POST/ai/summarize-thread/{channel.id}Test
Summarizes the content of a thread. Returns a 204 empty response on success. The summary will be sent as a system message in the thread. Requires the permission.
Field Type Description ephemeral? boolean Whether the summary message should be ephemeral (default false)