Help us improve these docs. Take our quick survey.
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,
"include_usernames": 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,
"include_usernames": false,
"columns": [
"<string>"
],
"expand_columns": [
"inputs.self.message",
"inputs.model.prompt"
],
"return_expanded_column_values": true
}
'{
"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.
Show child attributes
Show child attributes
Show child attributes
ベータ機能のため、変更される場合があります。true の場合、レスポンスには各callのモデルコストが含まれます。
ベータ版のため、変更される可能性があります。true の場合、レスポンスには各 call のフィードバックが含まれます。
ベータ版のため、変更される可能性があります。true の場合、レスポンスには call のストレージサイズが含まれます。
ベータ版のため、変更される可能性があります。true の場合、レスポンスにはトレースの合計ストレージサイズが含まれます。
true の場合、レスポンスはこのリクエストの期間中、各 Call の wb_user_id をユーザー名に解決しようとします。
展開する列。つまり、他のオブジェクトへの参照です。
[
"inputs.self.message",
"inputs.model.prompt"
]
true の場合、レスポンスには展開された列の生の値が含まれます。false の場合、レスポンスの expand_columns はフィルタリングと並べ替えにのみ使用されます。これは、たとえばパフォーマンス上の理由でクライアントが参照を自分で解決したい場合に便利です。
成功レスポンス