curl --request POST \
--url https://api.example.com/calls/stream_query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"op_names": [
"<string>"
],
"input_refs": [
"<string>"
],
"output_refs": [
"<string>"
],
"parent_ids": [
"<string>"
],
"trace_ids": [
"<string>"
],
"call_ids": [
"<string>"
],
"thread_ids": [
"<string>"
],
"turn_ids": [
"<string>"
],
"trace_roots_only": true,
"wb_user_ids": [
"<string>"
],
"wb_run_ids": [
"<string>"
]
},
"limit": 123,
"offset": 123,
"sort_by": [
{
"field": "<string>",
"direction": "asc"
}
],
"query": {
"$expr": {
"$and": [
{
"$literal": "<string>"
}
]
}
},
"include_costs": false,
"include_feedback": false,
"include_storage_size": false,
"include_total_storage_size": false,
"columns": [
"<string>"
],
"expand_columns": [
"inputs.self.message",
"inputs.model.prompt"
],
"return_expanded_column_values": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://api.example.com/calls/stream_query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"op_names": [
"<string>"
],
"input_refs": [
"<string>"
],
"output_refs": [
"<string>"
],
"parent_ids": [
"<string>"
],
"trace_ids": [
"<string>"
],
"call_ids": [
"<string>"
],
"thread_ids": [
"<string>"
],
"turn_ids": [
"<string>"
],
"trace_roots_only": true,
"wb_user_ids": [
"<string>"
],
"wb_run_ids": [
"<string>"
]
},
"limit": 123,
"offset": 123,
"sort_by": [
{
"field": "<string>",
"direction": "asc"
}
],
"query": {
"$expr": {
"$and": [
{
"$literal": "<string>"
}
]
}
},
"include_costs": false,
"include_feedback": false,
"include_storage_size": false,
"include_total_storage_size": false,
"columns": [
"<string>"
],
"expand_columns": [
"inputs.self.message",
"inputs.model.prompt"
],
"return_expanded_column_values": true
}
'{
"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.
표시 하위 속성
표시 하위 속성
표시 하위 속성
베타 기능이며, 변경될 수 있습니다. true인 경우 응답에 각 호출에 대한 모델 비용이 포함됩니다.
베타 기능이며, 변경될 수 있습니다. true인 경우 응답에 각 호출에 대한 피드백이 포함됩니다.
베타 기능이며, 변경될 수 있습니다. true인 경우 응답에 각 호출의 스토리지 크기가 포함됩니다.
베타 기능이며, 변경될 수 있습니다. true인 경우 응답에 전체 트레이스의 총 스토리지 크기가 포함됩니다.
확장할 열, 즉 다른 객체를 참조하는 컬럼입니다.
[
"inputs.self.message",
"inputs.model.prompt"
]true이면 응답에 확장된 컬럼의 원시 값(raw value)이 포함됩니다. false이면 응답에서 expand_columns는 필터링과 정렬에만 사용됩니다. 이는 예를 들어 성능상의 이유로 클라이언트가 참조(ref)를 직접 해석(resolve)하려는 경우에 유용합니다.
성공 응답