AI
Post Session Message
Add a new message to an existing chat session. This will trigger AI message generation as a run. check is_final to know when all messages for the run have been generated.
api-key<token>
In: header
Path Parameters
sessionId*string
Unique identifier for the session
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/ai/chat/string/message" \ -H "Content-Type: application/json" \ -d '{}'{ "currentCursorPosition": 0}