エンドポイントリファレンス
Chat メッセージ作成
正規化された chat メッセージを追加します。
認証
bearerAuth 認証Bearer <token>
In: header
パスパラメータ
id*string
リクエスト本文
application/json
TypeScript 定義
TypeScript で request body 型を使用します。
レスポンス本文
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/chat/sessions/string/messages" \ -H "Content-Type: application/json" \ -d '{ "actor": "user", "kind": "text" }'{
"status": "created",
"id": 0
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}