엔드포인트 레퍼런스
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"
}