application/json
<API_KEY>
(required)messages
: An array of message objects, each containing:
role
: Either “user” or “assistant”content
: The content of the messageagentId
: The unique identifier of the agent to use for processingparseJson
: Whether to try and parse the JSON in the response into a JSON objectthreadId
: (Optional) The ID of an existing thread to continue the conversation