11interactions :
2- - request :
3- body : null
4- headers :
5- Accept :
6- - ' */*'
7- Accept-Encoding :
8- - gzip, deflate
9- Connection :
10- - keep-alive
11- User-Agent :
12- - python-requests/2.32.5
13- method : GET
14- uri : https://staging-api.braintrust.dev/version
15- response :
16- body :
17- string : ' {"version":"1.1.31","date_version":"20260303","ff_version":21,"commit":"ef190e7cc21d4a7447c7d5714d94519d3e11abe6","deployment_mode":"lambda","deployment_type":"custom","brainstore_default":"force","brainstore_can_contain_row_refs":true,"skip_pg_config":"all","has_realtime_wal_bucket":true,"has_logs2":true,"js":true,"universal":true,"code_execution":true,"logs3_payload_max_bytes":5242880,"control_plane_telemetry":["status","metrics","logs","traces","memprof","usage"]}'
18- headers :
19- Connection :
20- - keep-alive
21- Content-Length :
22- - ' 471'
23- Content-Type :
24- - application/json; charset=utf-8
25- Date :
26- - Wed, 04 Mar 2026 18:53:38 GMT
27- Via :
28- - 1.1 24365d50ec90c9fb2b814e9d6c2f8b8c.cloudfront.net (CloudFront), 1.1 df34ce5bf73c140dc63a22fa17a4dcda.cloudfront.net
29- (CloudFront)
30- X-Amz-Cf-Id :
31- - iZSRCMFDldoyMgPWaFWbIytLGFZDbXXVq3vT1kx3mD2s0z5JPeYL5g==
32- X-Amz-Cf-Pop :
33- - YTO53-P2
34- - YTO50-P1
35- X-Amzn-Trace-Id :
36- - Root=1-69a87fb2-0563d3ca08011a600e7c0c30;Parent=29a9a49d07eb3aa6;Sampled=0;Lineage=1:fc3b4ff1:0
37- X-Cache :
38- - Miss from cloudfront
39- access-control-allow-credentials :
40- - ' true'
41- access-control-expose-headers :
42- - x-bt-cursor,x-bt-found-existing,x-bt-query-plan,x-bt-api-duration-ms,x-bt-brainstore-duration-ms
43- etag :
44- - W/"1d7-AZtEQwxyAKme2P8gABnHCeVZRA4"
45- vary :
46- - Origin
47- x-amz-apigw-id :
48- - Ztjj5Hn9oAMES6Q=
49- x-amzn-Remapped-content-length :
50- - ' 471'
51- x-amzn-RequestId :
52- - 2e376c2d-4dc9-4eb3-ae5c-befa424bc3f8
53- x-bt-internal-trace-id :
54- - 69a87fb2000000004178719e0e9e5aa1
55- status :
56- code : 200
57- message : OK
582- request :
593 body : ' {"contents": [{"parts": [{"text": "Use the tool with query: test"}], "role":
604 "user"}], "systemInstruction": {"parts": [{"text": "You are a helpful assistant
@@ -63,34 +7,27 @@ interactions:
637 "name": "simple_tool", "parameters": {"properties": {"query": {"type": "STRING"}},
648 "required": ["query"], "type": "OBJECT"}}]}], "generationConfig": {}}'
659 headers :
66- Accept :
67- - ' */*'
68- Accept-Encoding :
69- - gzip, deflate
70- Connection :
71- - keep-alive
72- Content-Length :
73- - ' 471'
7410 Content-Type :
7511 - application/json
76- Host :
77- - generativelanguage.googleapis.com
7812 user-agent :
79- - google-genai-sdk/1.65.0 gl-python/3.13 .3 google-adk/1.26 .0 gl-python/3.13 .3
13+ - google-genai-sdk/1.73.1 gl-python/3.14 .3 google-adk/1.31 .0 gl-python/3.14 .3
8014 x-goog-api-client :
81- - google-genai-sdk/1.65.0 gl-python/3.13 .3 google-adk/1.26 .0 gl-python/3.13 .3
15+ - google-genai-sdk/1.73.1 gl-python/3.14 .3 google-adk/1.31 .0 gl-python/3.14 .3
8216 method : POST
8317 uri : https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent
8418 response :
8519 body :
86- string : !!binary |
87- H4sIAAAAAAAC/61S0U6DMBR971eQPo9lONimb2b6YDJ1ccTMGGOu4451lhbbYmKW/bulwAZT3+SB
88- lHvuPef0HnbE8+gKRMISMKjphfdsK563c+8Sk8KgMBZoSraYgzLH3urZtc62ZV2IlWFSTIHzznCN
89- C8jQ1qlmWc7x1UjJae+0CVSqfxm2yEeB6quct6YNPcH35K+v4/nlKEaV5M5LJhPkDdm+aaBrJpje
90- PCBoKcq2RXw/P3il8JnOZJor+VZa9c/74+E4mIwHoyiYhEEwCtEfRKQRd7K00JDiLRqwS4fDBakl
91- yXITy3cUU1m4pYdBJdTKqINHNWykAd6dHPV+sOorq8l4O7pWqvb6wJlxa42vl3ErD8vfMdXsiLRW
92- eWrxn8Sirhapk6nCekSlWZVKipnNyT/rD/w1B71xhFShzqXQeJO4n23pS4Dt9k5th/7kac7MbKEv
93- Q0r25BtzH/bJCQMAAA==
20+ string : " {\n \" candidates\" : [\n {\n \" content\" : {\n \" parts\" :
21+ [\n {\n \" functionCall\" : {\n \" name\" : \" simple_tool\" ,\n
22+ \ \" args\" : {\n \" query\" : \" test\"\n }\n
23+ \ }\n }\n ],\n \" role\" : \" model\"\n },\n
24+ \ \" finishReason\" : \" STOP\" ,\n \" avgLogprobs\" : -0.00010093948803842067\n
25+ \ }\n ],\n \" usageMetadata\" : {\n \" promptTokenCount\" : 41,\n \" candidatesTokenCount\" :
26+ 5,\n \" totalTokenCount\" : 46,\n \" promptTokensDetails\" : [\n {\n
27+ \ \" modality\" : \" TEXT\" ,\n \" tokenCount\" : 41\n }\n ],\n
28+ \ \" candidatesTokensDetails\" : [\n {\n \" modality\" : \" TEXT\" ,\n
29+ \ \" tokenCount\" : 5\n }\n ]\n },\n \" modelVersion\" : \" gemini-2.0-flash\" ,\n
30+ \ \" responseId\" : \" ej_iafmqB5Oa9MoPzOjrmQ4\"\n }\n "
9431 headers :
9532 Alt-Svc :
9633 - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
@@ -99,11 +36,11 @@ interactions:
9936 Content-Type :
10037 - application/json; charset=UTF-8
10138 Date :
102- - Wed, 04 Mar 2026 18:53:38 GMT
39+ - Fri, 17 Apr 2026 14:11:06 GMT
10340 Server :
10441 - scaffolding on HTTPServer2
10542 Server-Timing :
106- - gfet4t7; dur=533
43+ - gfet4t7; dur=595
10744 Transfer-Encoding :
10845 - chunked
10946 Vary :
@@ -114,77 +51,13 @@ interactions:
11451 - nosniff
11552 X-Frame-Options :
11653 - SAMEORIGIN
54+ X-Gemini-Service-Tier :
55+ - standard
11756 X-XSS-Protection :
11857 - ' 0'
11958 status :
12059 code : 200
12160 message : OK
122- - request :
123- body : ' {"rows": [{"_is_merge": false, "context": {"caller_filename": "/Users/abhijeetprasad/.local/share/mise/installs/python/3.13.3/lib/python3.13/asyncio/events.py",
124- "caller_functionname": "_run", "caller_lineno": 89}, "created": "2026-03-04T18:53:37.537733+00:00",
125- "id": "67c0d81c-587d-434f-a173-8274bb5247ba", "log_id": "g", "metrics": {"start":
126- 1772650417.537733}, "project_id": "test-context", "root_span_id": "a4266ce9-8861-4723-ac6e-688ba177b395",
127- "span_attributes": {"exec_counter": 21, "name": "outer_span", "type": "task"},
128- "span_id": "a4266ce9-8861-4723-ac6e-688ba177b395", "span_parents": null}], "api_version":
129- 2}'
130- headers :
131- Accept :
132- - ' */*'
133- Accept-Encoding :
134- - gzip, deflate
135- Connection :
136- - keep-alive
137- Content-Length :
138- - ' 620'
139- User-Agent :
140- - python-requests/2.32.5
141- method : POST
142- uri : https://staging-api.braintrust.dev/logs3
143- response :
144- body :
145- string : ' {"Code":"ForbiddenError","Message":"Missing read access to project_log
146- id test-context, or the project_log does not exist [user_email=abhijeet@braintrustdata.com]
147- [user_org=braintrustdata.com] [timestamp=1772650418.546]","InternalTraceId":"69a87fb2000000000cf539bdeabb9690","Path":"/logs3","Service":"api"}'
148- headers :
149- Connection :
150- - keep-alive
151- Content-Length :
152- - ' 237'
153- Content-Type :
154- - application/json; charset=utf-8
155- Date :
156- - Wed, 04 Mar 2026 18:53:38 GMT
157- Via :
158- - 1.1 5785adb181f17ab60069f54a29dd7b7a.cloudfront.net (CloudFront), 1.1 6477e7b623b71ec66bc28ed8e271db7e.cloudfront.net
159- (CloudFront)
160- X-Amz-Cf-Id :
161- - XAH7plInwceQZyVAeRsFyCbHK3wPol5Q3FzOnLOSOLcXlWAEIJxpQw==
162- X-Amz-Cf-Pop :
163- - YTO53-P2
164- - YTO50-P1
165- X-Amzn-Trace-Id :
166- - Root=1-69a87fb2-040ba02c60171b0a65f5688d;Parent=40c51c3702a2cb1f;Sampled=0;Lineage=1:fc3b4ff1:0
167- X-Cache :
168- - Error from cloudfront
169- access-control-allow-credentials :
170- - ' true'
171- access-control-expose-headers :
172- - x-bt-cursor,x-bt-found-existing,x-bt-query-plan,x-bt-api-duration-ms,x-bt-brainstore-duration-ms
173- content-encoding :
174- - gzip
175- etag :
176- - W/"132-zIQvupRcq5HDv40+Qcx4u9krY4Q"
177- vary :
178- - Origin, Accept-Encoding
179- x-amz-apigw-id :
180- - Ztjj7G-roAMEKIw=
181- x-amzn-RequestId :
182- - 4586197f-a71c-4ba7-89e8-21ad190ee055
183- x-bt-internal-trace-id :
184- - 69a87fb2000000000cf539bdeabb9690
185- status :
186- code : 403
187- message : Forbidden
18861- request :
18962 body : ' {"contents": [{"parts": [{"text": "Use the tool with query: test"}], "role":
19063 "user"}, {"parts": [{"functionCall": {"args": {"query": "test"}, "name": "simple_tool"}}],
@@ -196,33 +69,27 @@ interactions:
19669 {"query": {"type": "STRING"}}, "required": ["query"], "type": "OBJECT"}}]}],
19770 "generationConfig": {}}'
19871 headers :
199- Accept :
200- - ' */*'
201- Accept-Encoding :
202- - gzip, deflate
203- Connection :
204- - keep-alive
205- Content-Length :
206- - ' 690'
20772 Content-Type :
20873 - application/json
209- Host :
210- - generativelanguage.googleapis.com
21174 user-agent :
212- - google-genai-sdk/1.65.0 gl-python/3.13 .3 google-adk/1.26 .0 gl-python/3.13 .3
75+ - google-genai-sdk/1.73.1 gl-python/3.14 .3 google-adk/1.31 .0 gl-python/3.14 .3
21376 x-goog-api-client :
214- - google-genai-sdk/1.65.0 gl-python/3.13 .3 google-adk/1.26 .0 gl-python/3.13 .3
77+ - google-genai-sdk/1.73.1 gl-python/3.14 .3 google-adk/1.31 .0 gl-python/3.14 .3
21578 method : POST
21679 uri : https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent
21780 response :
21881 body :
219- string : !!binary |
220- H4sIAAAAAAAC/61RTU+DQBC98yvInkvDxzbSXtVDE42oxNhUD9vulBJhl+wupkr47+5CoYte5UA2
221- 897Mm/emcVwX7QmjOSUKJFq5W11x3ab7G4wzBUxpYCjpYkWEunD7r7HemqLgZJpQIvgepAS6cvV8
222- 9caQxWvH9/vsMl3wAkxrySkUA70dCOiQs1wen4BIzgztOX1I0IiSz+yOZ5XgO7Og5899jBdBHOMo
223- XEbB0hlkO0FUS5LBPSii3ZPRI9LtZaVS/gHsmted+0XUS1hhTXB8hhVXpJh2Xs3+TJU3WjMv7Ayt
224- eLVxUuTqy7hLb19TZIWjpksN6ThWiL9X/CcxPNVyzjfpz/QCQub9PTIo9YW8cO57h4LIYzcQCZAV
225- ZxLW1HAk8zjZfQfrDcNevElCGp3qR4yc1vkBvZPsN5ICAAA=
82+ string : " {\n \" candidates\" : [\n {\n \" content\" : {\n \" parts\" :
83+ [\n {\n \" text\" : \" I have used the tool with the query
84+ \\\" test\\\" . The tool returned: \\\" Processed: test\\\" .\\ n\"\n }\n
85+ \ ],\n \" role\" : \" model\"\n },\n \" finishReason\" :
86+ \" STOP\" ,\n \" avgLogprobs\" : -0.03503913538796561\n }\n ],\n \" usageMetadata\" :
87+ {\n \" promptTokenCount\" : 53,\n \" candidatesTokenCount\" : 21,\n \" totalTokenCount\" :
88+ 74,\n \" promptTokensDetails\" : [\n {\n \" modality\" : \" TEXT\" ,\n
89+ \ \" tokenCount\" : 53\n }\n ],\n \" candidatesTokensDetails\" :
90+ [\n {\n \" modality\" : \" TEXT\" ,\n \" tokenCount\" : 21\n
91+ \ }\n ]\n },\n \" modelVersion\" : \" gemini-2.0-flash\" ,\n \" responseId\" :
92+ \" ej_iac6ZN_-g1MkP89XQ2Aw\"\n }\n "
22693 headers :
22794 Alt-Svc :
22895 - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
@@ -231,11 +98,11 @@ interactions:
23198 Content-Type :
23299 - application/json; charset=UTF-8
233100 Date :
234- - Wed, 04 Mar 2026 18:53:38 GMT
101+ - Fri, 17 Apr 2026 14:11:07 GMT
235102 Server :
236103 - scaffolding on HTTPServer2
237104 Server-Timing :
238- - gfet4t7; dur=510
105+ - gfet4t7; dur=627
239106 Transfer-Encoding :
240107 - chunked
241108 Vary :
@@ -246,6 +113,8 @@ interactions:
246113 - nosniff
247114 X-Frame-Options :
248115 - SAMEORIGIN
116+ X-Gemini-Service-Tier :
117+ - standard
249118 X-XSS-Protection :
250119 - ' 0'
251120 status :
0 commit comments