|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"input": "Count to 3", "model": "gpt-4o", "stream": true}' |
| 4 | + headers: |
| 5 | + accept: |
| 6 | + - application/json |
| 7 | + accept-encoding: |
| 8 | + - gzip, deflate |
| 9 | + connection: |
| 10 | + - keep-alive |
| 11 | + content-length: |
| 12 | + - '58' |
| 13 | + content-type: |
| 14 | + - application/json |
| 15 | + host: |
| 16 | + - api.openai.com |
| 17 | + user-agent: |
| 18 | + - AsyncOpenAI/Python 1.99.7 |
| 19 | + x-stainless-arch: |
| 20 | + - arm64 |
| 21 | + x-stainless-async: |
| 22 | + - async:asyncio |
| 23 | + x-stainless-lang: |
| 24 | + - python |
| 25 | + x-stainless-os: |
| 26 | + - MacOS |
| 27 | + x-stainless-package-version: |
| 28 | + - 1.99.7 |
| 29 | + x-stainless-read-timeout: |
| 30 | + - '600' |
| 31 | + x-stainless-retry-count: |
| 32 | + - '0' |
| 33 | + x-stainless-runtime: |
| 34 | + - CPython |
| 35 | + x-stainless-runtime-version: |
| 36 | + - 3.10.16 |
| 37 | + method: POST |
| 38 | + uri: https://api.openai.com/v1/responses |
| 39 | + response: |
| 40 | + body: |
| 41 | + string: 'event: response.created |
| 42 | +
|
| 43 | + data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_0833439a21e2e07f00692744f7343c8194a974c6475b934753","object":"response","created_at":1764181239,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}} |
| 44 | +
|
| 45 | +
|
| 46 | + event: response.in_progress |
| 47 | +
|
| 48 | + data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_0833439a21e2e07f00692744f7343c8194a974c6475b934753","object":"response","created_at":1764181239,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}} |
| 49 | +
|
| 50 | +
|
| 51 | + event: response.output_item.added |
| 52 | +
|
| 53 | + data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","type":"message","status":"in_progress","content":[],"role":"assistant"}} |
| 54 | +
|
| 55 | +
|
| 56 | + event: response.content_part.added |
| 57 | +
|
| 58 | + data: {"type":"response.content_part.added","sequence_number":3,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""}} |
| 59 | +
|
| 60 | +
|
| 61 | + event: response.output_text.delta |
| 62 | +
|
| 63 | + data: {"type":"response.output_text.delta","sequence_number":4,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":"1","logprobs":[],"obfuscation":"XA0B7nq36y3I0p0"} |
| 64 | +
|
| 65 | +
|
| 66 | + event: response.output_text.delta |
| 67 | +
|
| 68 | + data: {"type":"response.output_text.delta","sequence_number":5,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":",","logprobs":[],"obfuscation":"Xr3zhqYKv3CQfSO"} |
| 69 | +
|
| 70 | +
|
| 71 | + event: response.output_text.delta |
| 72 | +
|
| 73 | + data: {"type":"response.output_text.delta","sequence_number":6,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":" |
| 74 | + ","logprobs":[],"obfuscation":"UVLmTFr7FkA87lB"} |
| 75 | +
|
| 76 | +
|
| 77 | + event: response.output_text.delta |
| 78 | +
|
| 79 | + data: {"type":"response.output_text.delta","sequence_number":7,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":"2","logprobs":[],"obfuscation":"wPVtjCN3qKdLhJk"} |
| 80 | +
|
| 81 | +
|
| 82 | + event: response.output_text.delta |
| 83 | +
|
| 84 | + data: {"type":"response.output_text.delta","sequence_number":8,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":",","logprobs":[],"obfuscation":"7ajjiAJKL5KDRn7"} |
| 85 | +
|
| 86 | +
|
| 87 | + event: response.output_text.delta |
| 88 | +
|
| 89 | + data: {"type":"response.output_text.delta","sequence_number":9,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":" |
| 90 | + ","logprobs":[],"obfuscation":"mJIUyOlMT0CuNgP"} |
| 91 | +
|
| 92 | +
|
| 93 | + event: response.output_text.delta |
| 94 | +
|
| 95 | + data: {"type":"response.output_text.delta","sequence_number":10,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"delta":"3","logprobs":[],"obfuscation":"tkvYO2ofKRqiMo2"} |
| 96 | +
|
| 97 | +
|
| 98 | + event: response.output_text.done |
| 99 | +
|
| 100 | + data: {"type":"response.output_text.done","sequence_number":11,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"text":"1, |
| 101 | + 2, 3","logprobs":[]} |
| 102 | +
|
| 103 | +
|
| 104 | + event: response.content_part.done |
| 105 | +
|
| 106 | + data: {"type":"response.content_part.done","sequence_number":12,"item_id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"1, |
| 107 | + 2, 3"}} |
| 108 | +
|
| 109 | +
|
| 110 | + event: response.output_item.done |
| 111 | +
|
| 112 | + data: {"type":"response.output_item.done","sequence_number":13,"output_index":0,"item":{"id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"1, |
| 113 | + 2, 3"}],"role":"assistant"}} |
| 114 | +
|
| 115 | +
|
| 116 | + event: response.completed |
| 117 | +
|
| 118 | + data: {"type":"response.completed","sequence_number":14,"response":{"id":"resp_0833439a21e2e07f00692744f7343c8194a974c6475b934753","object":"response","created_at":1764181239,"status":"completed","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[{"id":"msg_0833439a21e2e07f00692744f7989c81949dceeaed14d8e652","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"1, |
| 119 | + 2, 3"}],"role":"assistant"}],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":11,"input_tokens_details":{"cached_tokens":0},"output_tokens":8,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":19},"user":null,"metadata":{}}} |
| 120 | +
|
| 121 | +
|
| 122 | + ' |
| 123 | + headers: |
| 124 | + CF-RAY: |
| 125 | + - 9a4b66a84caf0dd4-TLV |
| 126 | + Connection: |
| 127 | + - keep-alive |
| 128 | + Content-Type: |
| 129 | + - text/event-stream; charset=utf-8 |
| 130 | + Date: |
| 131 | + - Wed, 26 Nov 2025 18:20:39 GMT |
| 132 | + Server: |
| 133 | + - cloudflare |
| 134 | + Set-Cookie: |
| 135 | + - __cf_bm=V.B2dWw7Yqqxcb1uimxGCTcSgcx.eZynXeAnI8MdqrY-1764181239-1.0.1.1-fLTkIx0eOASBJaTgLguVlUcPeXfGdMzkMTJLHFk_x1Cp16J1_CVnZQv28zh4n2kXaZhhKmaa.rU.jVIHjsuftLTTbR8d2NsEO_GRuM9Oe3k; |
| 136 | + path=/; expires=Wed, 26-Nov-25 18:50:39 GMT; domain=.api.openai.com; HttpOnly; |
| 137 | + Secure; SameSite=None |
| 138 | + - _cfuvid=OlLe323e8JzelzLOlibVBzWl3.rFDoa53lmaaBwwA4Y-1764181239310-0.0.1.1-604800000; |
| 139 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 140 | + Strict-Transport-Security: |
| 141 | + - max-age=31536000; includeSubDomains; preload |
| 142 | + Transfer-Encoding: |
| 143 | + - chunked |
| 144 | + X-Content-Type-Options: |
| 145 | + - nosniff |
| 146 | + alt-svc: |
| 147 | + - h3=":443"; ma=86400 |
| 148 | + cf-cache-status: |
| 149 | + - DYNAMIC |
| 150 | + openai-organization: |
| 151 | + - traceloop |
| 152 | + openai-processing-ms: |
| 153 | + - '31' |
| 154 | + openai-project: |
| 155 | + - proj_tzz1TbPPOXaf6j9tEkVUBIAa |
| 156 | + openai-version: |
| 157 | + - '2020-10-01' |
| 158 | + x-envoy-upstream-service-time: |
| 159 | + - '36' |
| 160 | + x-request-id: |
| 161 | + - req_e541f460fc054ca5b778bb69c39095e9 |
| 162 | + status: |
| 163 | + code: 200 |
| 164 | + message: OK |
| 165 | +version: 1 |
0 commit comments