Pathway Chat
Pathway Chat
Send a message to a pathway and receive a response.
POST
/
v1
/
pathway
/
chat
/
{id}
Headers
authorization
string
requiredYour API key for authentication.
Path Parameters
id
uuid
requiredThe chat ID created from the /pathway/chat/create endpoint.
Body
message
string
The message to send to the pathway (optional)
Response
status
string
Can be success
or error
.
chat_id
uuid
The ID of the chat instance created. This will be used to send and receive messages to the pathway via the /pathway/chat endpoint.
Assistant Response
string
The response from the Assistant to the message sent.
Current Node ID
string
The ID of the current node in the pathway.
Current Node Name
string
The name of the current node in the pathway.
Chat History
array
An array of objects containing the role and content of each message in the chat.
Pathway ID
string
The ID of the pathway the chat is associated with.