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>"
}
],
"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>"
}
]
}Flux de requêtes d’appels
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>"
}
],
"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-dbrian-docs-2514-bedrock-agents.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Autorisations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
En-têtes
Corps
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Bêta, susceptible d’être modifié. Si la valeur est true, la réponse inclura les éventuels coûts de modèle pour chaque appel.
Bêta, susceptible d’évoluer. Si la valeur est true, la réponse inclura un feedback pour chaque appel.
Bêta, susceptible d’évoluer. Si la valeur est true, la réponse inclura la taille de stockage d’un appel.
Bêta, susceptible d’évoluer. Si la valeur est true, la réponse inclura la taille totale de stockage d’une trace.
Si true, la réponse tentera de résoudre le wb_user_id de chaque appel en nom d’utilisateur pendant la durée de cette requête.
Colonnes à développer, c.-à-d. les références à d’autres objets
[
"inputs.self.message",
"inputs.model.prompt"
]Si la valeur est true, la réponse inclura les valeurs brutes des colonnes développées. Si la valeur est false, le champ response expand_columns sera utilisé uniquement pour le filtrage et le tri. Cela est utile pour les clients qui souhaitent résoudre eux-mêmes les références, par exemple pour des raisons de performances.
Réponse
Réponse réussie
Cette page vous a-t-elle été utile ?