Send Message

SendMessage sends a single-turn chat message within a conversation session. The request must include the session identifier and the message content.

HTTP Mapping: POST “/v1/conversation/inference/chat:sendMessage”

Request

This endpoint expects an object.
namestringRequired

name is the resource identifier of the conversation session to join. Example format: “conversations/{conversation}/sessions/{session}

messageobjectRequired
Message to send to the conversation session.

Response

OK
contentobject
The current state of the conversation processing session.

Errors

400
Bad Request Error