Fineguide icon

Fineguide

Interact with Fineguide REST API v1

Actions13

Message → Add to History

AI-generated

Summary

Add a message to the conversation history of a specific bot session without triggering an AI response.

Inputs

  • Bot ID (required) — The ID of the bot.
  • Session ID (required) — The ID of the session.
  • Message (required) — The content of the message to add to history.
  • Role (required) — The role of the message sender. Options are User, Assistant, System, or Operator.

Output shape

a single JSON object representing the added message history entry.

The operation appends the message to the session's conversation history and delivers it to the user channel without invoking an AI response. No pagination or multiple items returned.

Examples

Example 1: Add a user message to a session's conversation history.

Specify the Bot ID, Session ID, message content, and set Role to 'User'. The message is stored for context but does not generate a reply.

Discussion