Create a chat with a specific agent, or continue an existing chat.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The content of the user message.
Deprecated. Use agent_id instead.
Enable research mode for this chat. Only works if the agent has research mode enabled ('optional' or 'always_on').
The style of citations to use. 'remove' will not show any citations, 'link' will format them as URLs.
link, remove The format of the content returned. 'markdown' includes formatting, 'text' returns plain text.
markdown, text Prompt variables as input to the agent.
Success
Deprecated. Use agent_id instead.
The ID of the agent that processed the request.
Unix timestamp in milliseconds of when the completion was created.
ISO 8601 formatted timestamp of when the completion was created.
The content of the chat.
If research mode was used for this chat. The agent configuration can override the user requested value.
The format of the content returned.
markdown, text Unique identifier for the chat.