Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageParams

Parameters for the message operation.

Hierarchy

  • MessageParams

Index

Properties

assistantId

assistantId: string

Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click API Details. For information about creating assistants, see the documentation.

Note: Currently, the v2 API does not support creating assistants.

Optional context

Context data for the conversation. You can use this property to set or modify context variables, which can also be accessed by dialog nodes. The context is stored by the assistant on a per-session basis.

Note: The total size of the context data stored for a stateful session cannot exceed 100KB.

Optional headers

headers: OutgoingHttpHeaders

Optional input

An input object that includes the input text.

sessionId

sessionId: string

Unique identifier of the session.

Generated using TypeDoc