메인 콘텐츠로 건너뛰기
POST
/
calls
/
score
호출 점수
curl --request POST \
  --url https://api.example.com/calls/score \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "call_ids": [
    "<string>"
  ],
  "scorer_refs": [
    "<string>"
  ],
  "wb_user_id": "<string>"
}
'
{}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

본문

application/json

호출 목록에 대한 스코어링 작업을 큐에 추가하도록 요청합니다.

스코어링은 call_scoring_worker가 비동기적으로 수행하며, 이 워커는 Kafka에서 메시지를 가져와 각 call_id에 각 scorer_ref를 적용합니다.

project_id
string
필수
call_ids
string[]
필수

스코어링할 호출 ID 목록

scorer_refs
string[]
필수

적용할 scorer ref 목록

wb_user_id
string | null

직접 설정하지 마세요. 서버가 이 필드를 자동으로 채웁니다.

응답

성공 응답

calls_score에 대한 빈 응답입니다.

이 인터페이스 전반에서 사용하는 규칙을 따르고, 나중에 호환성이 깨지는 변경 없이 필드를 추가할 수 있도록 None을 반환하는 대신 모델로 정의했습니다.