Help us improve these docs. Take our quick survey.
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>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
turn call만 기준으로 집계된 통계를 사용해 스레드를 쿼리합니다.
turn call은 스레드 컨텍스트의 직계 하위 항목입니다(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"
}
]성공 응답