Rivier/ Reference/ inbox

Draft a reply from what the project's memory knows, citing the passages it used

post/workspace/inbox/threads/{id}/ai/suggest-reply

Draft a reply from what the project's memory knows, citing the passages it used. A draft marked as AI for a person to edit and send; the model never sends.

Before you call

Credential
Authorization: Bearer $KEY
Scope
inbox:write
Mcp
rivier_mail_suggest_reply
Graphql
Mutation.inboxAiSuggestReply
Sdk
inbox.ai.suggestReply
Cli
inbox ai suggest reply

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • instructionstring
    At most 500 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown