|
| 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 | + ? !!python/object/new:multidict._multidict.istr |
| 6 | + - Accept |
| 7 | + : - application/json |
| 8 | + ? !!python/object/new:multidict._multidict.istr |
| 9 | + - Accept-Encoding |
| 10 | + : - gzip, deflate |
| 11 | + ? !!python/object/new:multidict._multidict.istr |
| 12 | + - Connection |
| 13 | + : - keep-alive |
| 14 | + Content-Length: |
| 15 | + - '140' |
| 16 | + ? !!python/object/new:multidict._multidict.istr |
| 17 | + - Content-Type |
| 18 | + : - application/json |
| 19 | + ? !!python/object/new:multidict._multidict.istr |
| 20 | + - User-Agent |
| 21 | + : - OpenAI/Python 1.91.0 |
| 22 | + X-Stainless-Arch: |
| 23 | + - arm64 |
| 24 | + X-Stainless-Async: |
| 25 | + - 'false' |
| 26 | + X-Stainless-Lang: |
| 27 | + - python |
| 28 | + X-Stainless-OS: |
| 29 | + - MacOS |
| 30 | + X-Stainless-Package-Version: |
| 31 | + - 1.91.0 |
| 32 | + X-Stainless-Runtime: |
| 33 | + - CPython |
| 34 | + X-Stainless-Runtime-Version: |
| 35 | + - 3.10.13 |
| 36 | + x-stainless-read-timeout: |
| 37 | + - '600' |
| 38 | + x-stainless-retry-count: |
| 39 | + - '0' |
| 40 | + method: POST |
| 41 | + uri: https://api.openai.com/v1/responses |
| 42 | + response: |
| 43 | + body: |
| 44 | + string: 'event: response.created |
| 45 | +
|
| 46 | + data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_6863f649ed38819e9be9bfbb936cd06f08b05fafad31a471","object":"response","created_at":1751381577,"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":{}}} |
| 47 | +
|
| 48 | +
|
| 49 | + event: response.in_progress |
| 50 | +
|
| 51 | + data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_6863f649ed38819e9be9bfbb936cd06f08b05fafad31a471","object":"response","created_at":1751381577,"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":{}}} |
| 52 | +
|
| 53 | +
|
| 54 | + event: response.output_item.added |
| 55 | +
|
| 56 | + data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","type":"message","status":"in_progress","content":[],"role":"assistant"}} |
| 57 | +
|
| 58 | +
|
| 59 | + event: response.content_part.added |
| 60 | +
|
| 61 | + data: {"type":"response.content_part.added","sequence_number":3,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""}} |
| 62 | +
|
| 63 | +
|
| 64 | + event: response.output_text.delta |
| 65 | +
|
| 66 | + data: {"type":"response.output_text.delta","sequence_number":4,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":"In","logprobs":[]} |
| 67 | +
|
| 68 | +
|
| 69 | + event: response.output_text.delta |
| 70 | +
|
| 71 | + data: {"type":"response.output_text.delta","sequence_number":5,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 72 | + the","logprobs":[]} |
| 73 | +
|
| 74 | +
|
| 75 | + event: response.output_text.delta |
| 76 | +
|
| 77 | + data: {"type":"response.output_text.delta","sequence_number":6,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 78 | + bustling","logprobs":[]} |
| 79 | +
|
| 80 | +
|
| 81 | + event: response.output_text.delta |
| 82 | +
|
| 83 | + data: {"type":"response.output_text.delta","sequence_number":7,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 84 | + city","logprobs":[]} |
| 85 | +
|
| 86 | +
|
| 87 | + event: response.output_text.delta |
| 88 | +
|
| 89 | + data: {"type":"response.output_text.delta","sequence_number":8,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 90 | + of","logprobs":[]} |
| 91 | +
|
| 92 | +
|
| 93 | + event: response.output_text.delta |
| 94 | +
|
| 95 | + data: {"type":"response.output_text.delta","sequence_number":9,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 96 | + Detroit","logprobs":[]} |
| 97 | +
|
| 98 | +
|
| 99 | + event: response.output_text.delta |
| 100 | +
|
| 101 | + data: {"type":"response.output_text.delta","sequence_number":10,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":",","logprobs":[]} |
| 102 | +
|
| 103 | +
|
| 104 | + event: response.output_text.delta |
| 105 | +
|
| 106 | + data: {"type":"response.output_text.delta","sequence_number":11,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 107 | + a","logprobs":[]} |
| 108 | +
|
| 109 | +
|
| 110 | + event: response.output_text.delta |
| 111 | +
|
| 112 | + data: {"type":"response.output_text.delta","sequence_number":12,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 113 | + sleek","logprobs":[]} |
| 114 | +
|
| 115 | +
|
| 116 | + event: response.output_text.delta |
| 117 | +
|
| 118 | + data: {"type":"response.output_text.delta","sequence_number":13,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":",","logprobs":[]} |
| 119 | +
|
| 120 | +
|
| 121 | + event: response.output_text.delta |
| 122 | +
|
| 123 | + data: {"type":"response.output_text.delta","sequence_number":14,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 124 | + metallic","logprobs":[]} |
| 125 | +
|
| 126 | +
|
| 127 | + event: response.output_text.delta |
| 128 | +
|
| 129 | + data: {"type":"response.output_text.delta","sequence_number":15,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 130 | + blue","logprobs":[]} |
| 131 | +
|
| 132 | +
|
| 133 | + event: response.output_text.delta |
| 134 | +
|
| 135 | + data: {"type":"response.output_text.delta","sequence_number":16,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 136 | + sedan","logprobs":[]} |
| 137 | +
|
| 138 | +
|
| 139 | + event: response.output_text.delta |
| 140 | +
|
| 141 | + data: {"type":"response.output_text.delta","sequence_number":17,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 142 | + rolled","logprobs":[]} |
| 143 | +
|
| 144 | +
|
| 145 | + event: response.output_text.delta |
| 146 | +
|
| 147 | + data: {"type":"response.output_text.delta","sequence_number":18,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 148 | + off","logprobs":[]} |
| 149 | +
|
| 150 | +
|
| 151 | + event: response.output_text.delta |
| 152 | +
|
| 153 | + data: {"type":"response.output_text.delta","sequence_number":19,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"delta":" |
| 154 | + the","logprobs":[]} |
| 155 | +
|
| 156 | +
|
| 157 | + event: response.output_text.done |
| 158 | +
|
| 159 | + data: {"type":"response.output_text.done","sequence_number":20,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"text":"In |
| 160 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the","logprobs":[]} |
| 161 | +
|
| 162 | +
|
| 163 | + event: response.content_part.done |
| 164 | +
|
| 165 | + data: {"type":"response.content_part.done","sequence_number":21,"item_id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 166 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the"}} |
| 167 | +
|
| 168 | +
|
| 169 | + event: response.output_item.done |
| 170 | +
|
| 171 | + data: {"type":"response.output_item.done","sequence_number":22,"output_index":0,"item":{"id":"msg_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","type":"message","status":"incomplete","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 172 | + the bustling city of Detroit, a sleek, metallic blue sedan rolled off the"}],"role":"assistant"}} |
| 173 | +
|
| 174 | +
|
| 175 | + event: response.incomplete |
| 176 | +
|
| 177 | + data: {"type":"response.incomplete","sequence_number":23,"response":{"id":"resp_6863f649ed38819e9be9bfbb936cd06f08b05fafad31a471","object":"response","created_at":1751381577,"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_6863f64a5260819ea9e2fdc22f24f14808b05fafad31a471","type":"message","status":"incomplete","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"In |
| 178 | + 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":{}}} |
| 179 | +
|
| 180 | +
|
| 181 | + ' |
| 182 | + headers: |
| 183 | + CF-RAY: |
| 184 | + - 9586baedceb33b3e-IAD |
| 185 | + Connection: |
| 186 | + - keep-alive |
| 187 | + Content-Type: |
| 188 | + - text/event-stream; charset=utf-8 |
| 189 | + Date: |
| 190 | + - Tue, 01 Jul 2025 14:52:57 GMT |
| 191 | + Server: |
| 192 | + - cloudflare |
| 193 | + Set-Cookie: |
| 194 | + - __cf_bm=WYdIZspPhPNF49xcH27LeAgIJzpkG1wqmct_TwlQYjo-1751381577-1.0.1.1-5NkiuDhjP5akWgo8petCX4FgSHprLztmKJrR9EjmeWyC0SbO8D1W1K_mvTM53btEWZQ.wRXSrv25GPAWwgTL0pb8V73f3twsczBILKTCfMQ; |
| 195 | + path=/; expires=Tue, 01-Jul-25 15:22:57 GMT; domain=.api.openai.com; HttpOnly; |
| 196 | + Secure; SameSite=None |
| 197 | + - _cfuvid=zw1p943Q0_7VLitWlqIzbF19aGFP.veOd_g5TwF3ilw-1751381577972-0.0.1.1-604800000; |
| 198 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 199 | + Transfer-Encoding: |
| 200 | + - chunked |
| 201 | + X-Content-Type-Options: |
| 202 | + - nosniff |
| 203 | + alt-svc: |
| 204 | + - h3=":443"; ma=86400 |
| 205 | + cf-cache-status: |
| 206 | + - DYNAMIC |
| 207 | + openai-organization: |
| 208 | + - datadog-staging |
| 209 | + openai-processing-ms: |
| 210 | + - '32' |
| 211 | + openai-version: |
| 212 | + - '2020-10-01' |
| 213 | + strict-transport-security: |
| 214 | + - max-age=31536000; includeSubDomains; preload |
| 215 | + x-request-id: |
| 216 | + - req_63dd99226f6e1711f8d689e8f9034d39 |
| 217 | + status: |
| 218 | + code: 200 |
| 219 | + message: OK |
| 220 | +version: 1 |
0 commit comments