|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"input":"Give me a multi paragraph narrative on the life of a car","max_output_tokens":16,"model":"gpt-4o","stream":true,"temperature":0.1}' |
| 4 | + headers: |
| 5 | + accept: |
| 6 | + - application/json |
| 7 | + accept-encoding: |
| 8 | + - gzip, deflate |
| 9 | + connection: |
| 10 | + - keep-alive |
| 11 | + content-length: |
| 12 | + - '140' |
| 13 | + content-type: |
| 14 | + - application/json |
| 15 | + host: |
| 16 | + - api.openai.com |
| 17 | + user-agent: |
| 18 | + - OpenAI/Python 1.91.0 |
| 19 | + x-stainless-arch: |
| 20 | + - arm64 |
| 21 | + x-stainless-async: |
| 22 | + - 'false' |
| 23 | + x-stainless-lang: |
| 24 | + - python |
| 25 | + x-stainless-os: |
| 26 | + - MacOS |
| 27 | + x-stainless-package-version: |
| 28 | + - 1.91.0 |
| 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.13 |
| 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_6866d2dec420819c92534dcf75e475120847a84b87aad89c","object":"response","created_at":1751569118,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":16,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"service_tier":"auto","store":false,"temperature":0.1,"text":{"format":{"type":"text"}},"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_6866d2dec420819c92534dcf75e475120847a84b87aad89c","object":"response","created_at":1751569118,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":16,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"service_tier":"auto","store":false,"temperature":0.1,"text":{"format":{"type":"text"}},"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_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","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_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","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_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":"In","logprobs":[]} |
| 64 | +
|
| 65 | +
|
| 66 | + event: response.output_text.delta |
| 67 | +
|
| 68 | + data: {"type":"response.output_text.delta","sequence_number":5,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 69 | + the","logprobs":[]} |
| 70 | +
|
| 71 | +
|
| 72 | + event: response.output_text.delta |
| 73 | +
|
| 74 | + data: {"type":"response.output_text.delta","sequence_number":6,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 75 | + bustling","logprobs":[]} |
| 76 | +
|
| 77 | +
|
| 78 | + event: response.output_text.delta |
| 79 | +
|
| 80 | + data: {"type":"response.output_text.delta","sequence_number":7,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 81 | + city","logprobs":[]} |
| 82 | +
|
| 83 | +
|
| 84 | + event: response.output_text.delta |
| 85 | +
|
| 86 | + data: {"type":"response.output_text.delta","sequence_number":8,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 87 | + of","logprobs":[]} |
| 88 | +
|
| 89 | +
|
| 90 | + event: response.output_text.delta |
| 91 | +
|
| 92 | + data: {"type":"response.output_text.delta","sequence_number":9,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 93 | + Detroit","logprobs":[]} |
| 94 | +
|
| 95 | +
|
| 96 | + event: response.output_text.delta |
| 97 | +
|
| 98 | + data: {"type":"response.output_text.delta","sequence_number":10,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":",","logprobs":[]} |
| 99 | +
|
| 100 | +
|
| 101 | + event: response.output_text.delta |
| 102 | +
|
| 103 | + data: {"type":"response.output_text.delta","sequence_number":11,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 104 | + a","logprobs":[]} |
| 105 | +
|
| 106 | +
|
| 107 | + event: response.output_text.delta |
| 108 | +
|
| 109 | + data: {"type":"response.output_text.delta","sequence_number":12,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 110 | + sleek","logprobs":[]} |
| 111 | +
|
| 112 | +
|
| 113 | + event: response.output_text.delta |
| 114 | +
|
| 115 | + data: {"type":"response.output_text.delta","sequence_number":13,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":",","logprobs":[]} |
| 116 | +
|
| 117 | +
|
| 118 | + event: response.output_text.delta |
| 119 | +
|
| 120 | + data: {"type":"response.output_text.delta","sequence_number":14,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 121 | + metallic","logprobs":[]} |
| 122 | +
|
| 123 | +
|
| 124 | + event: response.output_text.delta |
| 125 | +
|
| 126 | + data: {"type":"response.output_text.delta","sequence_number":15,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 127 | + blue","logprobs":[]} |
| 128 | +
|
| 129 | +
|
| 130 | + event: response.output_text.delta |
| 131 | +
|
| 132 | + data: {"type":"response.output_text.delta","sequence_number":16,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 133 | + sedan","logprobs":[]} |
| 134 | +
|
| 135 | +
|
| 136 | + event: response.output_text.delta |
| 137 | +
|
| 138 | + data: {"type":"response.output_text.delta","sequence_number":17,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 139 | + rolled","logprobs":[]} |
| 140 | +
|
| 141 | +
|
| 142 | + event: response.output_text.delta |
| 143 | +
|
| 144 | + data: {"type":"response.output_text.delta","sequence_number":18,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 145 | + off","logprobs":[]} |
| 146 | +
|
| 147 | +
|
| 148 | + event: response.output_text.delta |
| 149 | +
|
| 150 | + data: {"type":"response.output_text.delta","sequence_number":19,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"delta":" |
| 151 | + the","logprobs":[]} |
| 152 | +
|
| 153 | +
|
| 154 | + event: response.output_text.done |
| 155 | +
|
| 156 | + data: {"type":"response.output_text.done","sequence_number":20,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"text":"In |
| 157 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the","logprobs":[]} |
| 158 | +
|
| 159 | +
|
| 160 | + event: response.content_part.done |
| 161 | +
|
| 162 | + data: {"type":"response.content_part.done","sequence_number":21,"item_id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 163 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the"}} |
| 164 | +
|
| 165 | +
|
| 166 | + event: response.output_item.done |
| 167 | +
|
| 168 | + data: {"type":"response.output_item.done","sequence_number":22,"output_index":0,"item":{"id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","type":"message","status":"incomplete","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 169 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the"}],"role":"assistant"}} |
| 170 | +
|
| 171 | +
|
| 172 | + event: response.incomplete |
| 173 | +
|
| 174 | + data: {"type":"response.incomplete","sequence_number":23,"response":{"id":"resp_6866d2dec420819c92534dcf75e475120847a84b87aad89c","object":"response","created_at":1751569118,"status":"incomplete","background":false,"error":null,"incomplete_details":{"reason":"max_output_tokens"},"instructions":null,"max_output_tokens":16,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","output":[{"id":"msg_6866d2df1c0c819c885ca369ba853e7f0847a84b87aad89c","type":"message","status":"incomplete","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 175 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the"}],"role":"assistant"}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"service_tier":"default","store":false,"temperature":0.1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":0,"input_tokens_details":{"cached_tokens":0},"output_tokens":0,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":0},"user":null,"metadata":{}}} |
| 176 | +
|
| 177 | +
|
| 178 | + ' |
| 179 | + headers: |
| 180 | + CF-RAY: |
| 181 | + - 95989d900ebc15c7-EWR |
| 182 | + Connection: |
| 183 | + - keep-alive |
| 184 | + Content-Type: |
| 185 | + - text/event-stream; charset=utf-8 |
| 186 | + Date: |
| 187 | + - Thu, 03 Jul 2025 18:58:38 GMT |
| 188 | + Server: |
| 189 | + - cloudflare |
| 190 | + Set-Cookie: |
| 191 | + - __cf_bm=KpYG1oRKkQLyyjVvJMwoM7ql79VaamURrWrTFo.aTE0-1751569118-1.0.1.1-KGbIEiERemwjKrv8ycZmhv0cRJOMMKhFVJv.o0u1rPJqtnugj.3FF_6iz78OARuG5mZZ0ohKG5geXbCQ3uC9eZ0wEn0sBFq3X2qgV5BUl44; |
| 192 | + path=/; expires=Thu, 03-Jul-25 19:28:38 GMT; domain=.api.openai.com; HttpOnly; |
| 193 | + Secure; SameSite=None |
| 194 | + - _cfuvid=r8PrX5IPe5I9EgCb9rpkzUITgLbT65.Q573NUBXW_iY-1751569118795-0.0.1.1-604800000; |
| 195 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 196 | + Transfer-Encoding: |
| 197 | + - chunked |
| 198 | + X-Content-Type-Options: |
| 199 | + - nosniff |
| 200 | + alt-svc: |
| 201 | + - h3=":443"; ma=86400 |
| 202 | + cf-cache-status: |
| 203 | + - DYNAMIC |
| 204 | + openai-organization: |
| 205 | + - datadog-staging |
| 206 | + openai-processing-ms: |
| 207 | + - '27' |
| 208 | + openai-version: |
| 209 | + - '2020-10-01' |
| 210 | + strict-transport-security: |
| 211 | + - max-age=31536000; includeSubDomains; preload |
| 212 | + x-request-id: |
| 213 | + - req_e5f20714325d29dc7b7e40b8a587ff3d |
| 214 | + status: |
| 215 | + code: 200 |
| 216 | + message: OK |
| 217 | +version: 1 |
0 commit comments