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"
The latest message input from the user to Puppilot.
"Yes please provide guidance on urgent signs"
The target context for the chat, e.g., a transcript of a conversation between an owner and a vet.
"Owner: Hi, my rabbit Nibbles has been acting strangely... Vet: Thank you, that's very helpful."
A unique identifier for the conversation. For the first request, omit this field and the API will generate a new conversation_id. For all subsequent requests, use the conversation_id returned in the previous response.
"conv_1234567890abcdef"
Successful response from the chat agent.
The agent's response message.
"For Nibbles, urgent veterinary signs include: no fecal output or very small, dry pellets >24 hrs..."
The unique identifier for this conversation. Use this conversation_id in all subsequent requests to maintain conversation context.
"conv_1234567890abcdef"