curl --request POST \
--url https://api.example.com/threads/stream_query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"after_datetime": "2024-01-01T00:00:00Z",
"before_datetime": "2024-12-31T23:59:59Z",
"thread_ids": [
"thread_1",
"thread_2",
"my_thread_id"
]
},
"limit": 123,
"offset": 123,
"sort_by": [
{
"direction": "desc",
"field": "last_updated"
}
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://api.example.com/threads/stream_query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"after_datetime": "2024-01-01T00:00:00Z",
"before_datetime": "2024-12-31T23:59:59Z",
"thread_ids": [
"thread_1",
"thread_2",
"my_thread_id"
]
},
"limit": 123,
"offset": 123,
"sort_by": [
{
"direction": "desc",
"field": "last_updated"
}
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
turn 호출을 기준으로 집계된 통계와 함께 스레드를 조회합니다.
turn 호출은 스레드 컨텍스트의 직속 자식입니다(call.id == turn_id 인 경우). 이는 모든 중첩된 구현 세부 정보를 포함하는 대신, 대화 수준에서 의미 있는 통계를 제공합니다.
프로젝트의 ID
"my_entity/my_project"
스레드 쿼리에 적용할 필터 조건
Show child attributes
반환할 스레드의 최대 개수
건너뛸 스레드 개수
스레드를 정렬할 기준입니다. 지원되는 필드는 다음과 같습니다: 'thread_id', 'turn_count', 'start_time', 'last_updated', 'p50_turn_duration_ms', 'p99_turn_duration_ms'.
Show child attributes
[
{
"direction": "desc",
"field": "last_updated"
}
]성공 응답