Engage in contextual, multi-turn conversations with Puppilot, leveraging existing chat transcripts and conversation history.
target_context
): This is an external body of text, such as a detailed transcript of a telehealth session with a pet owner, a set of case notes, or any other relevant document. Puppilot uses this as a knowledge base for the conversation.conversation_id
. This allows for natural, connected dialogue across multiple requests.Authorization
header. You can obtain this token via the User Login endpoint documented under the API Reference for Multi-Shot Endpoints.
message
to Puppilot.target_context
you want Puppilot to reference (optional).conversation_id
to maintain conversation context. 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.conversation_id
), aiming to deliver an informed and relevant response.
target_context
and ask Puppilot follow-up questions or request summaries based on that specific interaction.target_context
and discuss diagnostic possibilities or treatment options with Puppilot, referencing details from the notes.conversation_id
) to explore a topic thoroughly, all while keeping an external document (in target_context
) as a central reference point.POST /chat
https://agents.puppilot.co
Bearer <YOUR_ACCESS_TOKEN>
in the Authorization header.X-API-Version: 0.2.0
in your requests.message
(string, required): Your current question, statement, or instruction for Puppilot.target_context
(string, optional): The external text or transcript that Puppilot should use as a reference for this conversational turn. This provides the background information.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.conversation_id
from the previous response.
output
(string): Puppilot’s generated textual response, informed by your message
, the target_context
, and the conversation history (maintained via conversation_id
).conversation_id
(string): The unique identifier for this conversation. Use this conversation_id
in all subsequent requests to maintain conversation context.message
) or if the JSON structure is invalid.
Example:
Authorization
header was missing or contained an invalid or expired Bearer token.
Example: