필터, 정렬, 페이징을 적용하여 통화 목록을 조회합니다.
curl --request POST \
--url https://client-api.tryvox.co/v2/calls/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter_criteria": {
"agent_id": [
"<string>"
],
"disconnection_reason": [
"user_hangup"
],
"call_type": [
"web"
],
"user_sentiment": [
"positive"
],
"call_from": [
"<string>"
],
"call_to": [
"<string>"
],
"duration": {
"upper_threshold": 123,
"lower_threshold": 123
},
"start_timestamp": {
"upper_threshold": 123,
"lower_threshold": 123
}
},
"sort_order": "descending",
"limit": 50,
"pagination_key": "<string>"
}
'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "web",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "user_hangup",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "positive",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_cursor": "<string>",
"total_count": 0
}The access token received from the authorization server in the OAuth 2.0 flow.
통화 목록 조회를 위한 필터 및 페이징 옵션
반환할 통화에 적용할 필터 조건
Show child attributes
에이전트 ID 목록으로 필터링
통화 종료 사유로 필터링
통화 종료 사유 Enum
user_hangup, agent_hangup, dial_no_answer, dial_failed, voicemail_reached, concurrency_limit_reached, insufficient_balance, error_voxai, max_duration_reached, inactivity, flow_error, call_transfer 통화 유형으로 필터링: 'web', 'phone', 'inbound', 'outbound', 'api', 'unknown'
통화 유형 Enum
web, phone, inbound, outbound, api, unknown 감정 분석 결과 라벨로 필터링
사용자 감정 Enum
positive, negative, neutral, unknown 발신 번호로 필터링 (예: 01012345678)
수신 번호로 필터링 (예: 01098765432)
정렬 순서: 'ascending' 또는 'descending'
최대 반환 개수
1 <= x <= 500다음 페이지 조회를 위한 커서(통화 ID)
Successful Response
통화 목록 조회 응답 모델
필터 조건에 부합하는 통화 목록
Show child attributes
통화 유형 Enum
web, phone, inbound, outbound, api, unknown 에이전트 컨텍스트에 사용되는 동적 변수
분석/추적을 위한 임의의 메타데이터
통화 종료 사유 Enum
user_hangup, agent_hangup, dial_no_answer, dial_failed, voicemail_reached, concurrency_limit_reached, insufficient_balance, error_voxai, max_duration_reached, inactivity, flow_error, call_transfer 통화 대화록의 기본 메시지 모델
Show child attributes
통화 대화록에서 사용되는 메시지 역할 정의
agent, user, tool_call_invocation, tool_call_result 다음 페이지 조회에 사용할 커서 값
필터에 부합하는 전체 통화 수
Was this page helpful?
curl --request POST \
--url https://client-api.tryvox.co/v2/calls/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter_criteria": {
"agent_id": [
"<string>"
],
"disconnection_reason": [
"user_hangup"
],
"call_type": [
"web"
],
"user_sentiment": [
"positive"
],
"call_from": [
"<string>"
],
"call_to": [
"<string>"
],
"duration": {
"upper_threshold": 123,
"lower_threshold": 123
},
"start_timestamp": {
"upper_threshold": 123,
"lower_threshold": 123
}
},
"sort_order": "descending",
"limit": 50,
"pagination_key": "<string>"
}
'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "web",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "user_hangup",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "positive",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_cursor": "<string>",
"total_count": 0
}