Create Pathway Chat
Pathway Chat
Create Pathway Chat
Create an instance of a pathway chat, which can be used to send and receive messages to the pathway.
POST
Create Pathway Chat
Headers
Your API key for authentication.
Body
Pathway ID of the pathway to create a chat instance for.
The start node ID of the pathway. If not provided, the pathway will start from the node marked as the start node in the pathway configuration.
Custom key-value data to initialize the pathway chat with. This object will be stored as the pathway’s initial variables and can be referenced within pathway nodes. The
request_data must be a valid JSON object (not an array or null).This works the same as request_data in v1/calls where variables can be accessed using {{variable_name}} syntax within your pathway nodes.Whether to use the candidate model for this pathway chat. When enabled, the pathway will use an experimental model version for enhanced performance and capabilities.
The specific version number of the pathway to use for this chat instance. If not provided, the production version will be used.
Response
Contains the response data for the created pathway chat instance.
Will be
null on success. Contains error details if the request failed.Docs for agents: llms.txt