Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
A text prompt to send to the agent.
Override the agent config for this converse call. This is applied as a partial override.
The ID of the agent that should be used for the converse.
The ID of the present conversation to use. If it's not provided - a new conversation will be created.
Determines the response type of the converse. Response is the Server-Sent Events if stream is set to true.
Determines whether the response should include citations. When enabled, the agent will generate citations for factual statements.
Array of secret ID's to be included in the context. The secret value will be appended to the prompt but not stored in conversation history.
Contains the format property used to specify the structured output schema. Structured output is currently only supported by the default agent model, magpie-1.1.
Response
Converse response
The conversation.message
object represents a message in a conversation.
The object type, which is always conversation.message
.
conversation.message
The message identifier.
The ID of the agent that sent or responded to the message.
The role of the message sender - either 'user' or 'agent'.
user
, agent
Contents of the message.
The ISO string for when the message was created.
The ID of the conversation the message belongs to.
Array of citations that provide knowledges for factual statements in the response. Each citation includes the referenced text and its knowledges.