cURL
curl --request PATCH \ --url https://api.example.com/partner/{partner_id}/session/{session_id}/messages/{message_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "sender_type": "student", "sender_id": 123, "message_type": "text", "content": "<string>", "tokens": 123, "latency_ms": 123, "meta": {} } '
{ "id": 123, "session_id": 123, "sender_type": "student", "message_type": "text", "content": "<string>", "created_at": "2023-11-07T05:31:56Z", "sender_id": 123, "tokens": 123, "latency_ms": 123, "meta": {} }
메시지 수정.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
강사 ID
x >= 1
student
staff
system
text
image
audio
file
tool
Successful Response