채팅 정지
지정한 AI 대화의 진행 중인 AI 응답을 정지합니다.
HTTP 요청
POST /api/sonar/ai/conversations/:guid/stop
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \
-X POST https://HOSTNAME/api/sonar/ai/conversations/a1b2c3d4-e5f6-7890-abcd-ef1234567890/stop
요청 매개변수
경로 매개변수
| 키 | 타입 | 설명 | 비고 |
|---|---|---|---|
| guid | 문자열 | 대화 식별자 | 36자 GUID |
정상 응답
{}
오류 응답
식별자가 GUID 형식이 아닌 경우
HTTP 상태 코드 400 응답
{
"error_code": "invalid-param-type",
"error_msg": "guid should be guid type."
}