Synthesize a question

Deprecated API: Synthesize a question from the last N messages in the chat history.

Path parameters

sessionIdstringRequired

The ID of the session.

Headers

AuthorizationstringRequired

Header authentication of the form Api-Key <token>

Query parameters

lastNMessagesintegerOptional

The number of messages to use for question synthesis.

Response

The synthesized question.

questionstringOptional

Errors