AI

Create AI suggestion

Rewrite a text (improve, polish, formalize, friendly, shorten), or draft a reply or an internal note for a chat.

post/orgs/ai/suggestions

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/ai/suggestions
  • Auth: HTTP bearer

Request body

action'improve' | 'polish' | 'formalize' | 'friendly' | 'shorten' | 'reply' | 'note' required

Schema for the action to perform on the suggestion

textstring

The text to rewrite. Required for every action except reply and note

chat_idstring

The chat to draft from. Required for the reply and note actions

Response

suggestionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.