Provides multi-turn conversational capabilities with Puppilot, allowing a target context (e.g., a vet-owner chat) and the history of the ongoing chat with Puppilot to be included. This endpoint is used for engaging in a continuous dialogue where the agent remembers previous parts of the conversation (via conversation_id) and can reference a specific external context (via target_context). Requires Bearer authentication.
conversation_id
. This allows for natural, connected dialogue across multiple requests.Authorization
header of your request. Additionally, you must include the header X-API-Version: 0.2.0
in your requests.
message
(string, required): The latest message or query from the user.target_context
(string, optional): A string containing the target contextual information that Puppilot should be aware of. For example, this could be a detailed case history or a prior conversation transcript.conversation_id
(string, optional): For the first request, omit this field and the API will generate a new conversation_id
. Include this in subsequent requests to maintain conversation context.output
(string): Puppilot’s response to the user’s message, taking into account the provided target_context
and chat history.conversation_id
(string): The unique identifier for this conversation. Use this conversation_id
in all subsequent requests to maintain conversation context.Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
API versioning is required. Include the header X-API-Version
with current version value in all requests.
"0.2.0"
Successful response from the chat agent.
The response is of type object
.