resources/beta/index.md +1702 −53
12173 for reasoning items returned by `POST /v1/responses` and WebSocket12173 for reasoning items returned by `POST /v1/responses` and WebSocket
12174 `response.create` requests.12174 `response.create` requests.
12175 12175
12176 When streaming, use the completed reasoning item and its
12177 `encrypted_content` from the `response.output_item.done` event in
12178 subsequent requests. The `encrypted_content` in
12179 `response.output_item.added` may be incomplete. This is especially
12180 important when `store` is `false` or when using Zero Data Retention.
12181
12176 - `status: optional "in_progress" or "completed" or "incomplete"`12182 - `status: optional "in_progress" or "completed" or "incomplete"`
12177 12183
12178 The status of the item. One of `in_progress`, `completed`, or12184 The status of the item. One of `in_progress`, `completed`, or
12946 Unique identifier for the MCP tool call approval request.12952 Unique identifier for the MCP tool call approval request.
12947 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.12953 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
12948 12954
1294912955 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
12950 12956
12951 The error from the tool call, if any.12957 The error from the tool call, if any.
12952 12958
12959 - `string`
12960
12961 The error from the tool call, if any.
12962
12963 - `McpProtocolError object { code, message, type }`
12964
12965 - `code: number`
12966
12967 - `message: string`
12968
12969 - `type: "mcp_protocol_error"`
12970
12971 - `"mcp_protocol_error"`
12972
12973 - `McpToolExecutionError object { content, type }`
12974
12975 - `content: unknown`
12976
12977 - `type: "mcp_tool_execution_error"`
12978
12979 - `"mcp_tool_execution_error"`
12980
12981 - `HTTPError object { code, message, type }`
12982
12983 - `code: number`
12984
12985 - `message: string`
12986
12987 - `type: "http_error"`
12988
12989 - `"http_error"`
12990
12953 - `output: optional string or null`12991 - `output: optional string or null`
12954 12992
12955 The output from the tool call.12993 The output from the tool call.
14235 for reasoning items returned by `POST /v1/responses` and WebSocket14273 for reasoning items returned by `POST /v1/responses` and WebSocket
14236 `response.create` requests.14274 `response.create` requests.
14237 14275
14276 When streaming, use the completed reasoning item and its
14277 `encrypted_content` from the `response.output_item.done` event in
14278 subsequent requests. The `encrypted_content` in
14279 `response.output_item.added` may be incomplete. This is especially
14280 important when `store` is `false` or when using Zero Data Retention.
14281
14238 - `status: optional "in_progress" or "completed" or "incomplete"`14282 - `status: optional "in_progress" or "completed" or "incomplete"`
14239 14283
14240 The status of the item. One of `in_progress`, `completed`, or14284 The status of the item. One of `in_progress`, `completed`, or
17112 Unique identifier for the MCP tool call approval request.17156 Unique identifier for the MCP tool call approval request.
17113 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.17157 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
17114 17158
1711517159 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
17160
17161 The error from the tool call, if any.
17162
17163 - `string`
17116 17164
17117 The error from the tool call, if any.17165 The error from the tool call, if any.
17118 17166
17167 - `McpProtocolError object { code, message, type }`
17168
17169 - `code: number`
17170
17171 - `message: string`
17172
17173 - `type: "mcp_protocol_error"`
17174
17175 - `"mcp_protocol_error"`
17176
17177 - `McpToolExecutionError object { content, type }`
17178
17179 - `content: unknown`
17180
17181 - `type: "mcp_tool_execution_error"`
17182
17183 - `"mcp_tool_execution_error"`
17184
17185 - `HTTPError object { code, message, type }`
17186
17187 - `code: number`
17188
17189 - `message: string`
17190
17191 - `type: "http_error"`
17192
17193 - `"http_error"`
17194
17119 - `output: optional string or null`17195 - `output: optional string or null`
17120 17196
17121 The output from the tool call.17197 The output from the tool call.
23366 for reasoning items returned by `POST /v1/responses` and WebSocket23442 for reasoning items returned by `POST /v1/responses` and WebSocket
23367 `response.create` requests.23443 `response.create` requests.
23368 23444
23445 When streaming, use the completed reasoning item and its
23446 `encrypted_content` from the `response.output_item.done` event in
23447 subsequent requests. The `encrypted_content` in
23448 `response.output_item.added` may be incomplete. This is especially
23449 important when `store` is `false` or when using Zero Data Retention.
23450
23369 - `status: optional "in_progress" or "completed" or "incomplete"`23451 - `status: optional "in_progress" or "completed" or "incomplete"`
23370 23452
23371 The status of the item. One of `in_progress`, `completed`, or23453 The status of the item. One of `in_progress`, `completed`, or
24139 Unique identifier for the MCP tool call approval request.24221 Unique identifier for the MCP tool call approval request.
24140 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.24222 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
24141 24223
2414224224 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
24225
24226 The error from the tool call, if any.
24227
24228 - `string`
24143 24229
24144 The error from the tool call, if any.24230 The error from the tool call, if any.
24145 24231
24232 - `McpProtocolError object { code, message, type }`
24233
24234 - `code: number`
24235
24236 - `message: string`
24237
24238 - `type: "mcp_protocol_error"`
24239
24240 - `"mcp_protocol_error"`
24241
24242 - `McpToolExecutionError object { content, type }`
24243
24244 - `content: unknown`
24245
24246 - `type: "mcp_tool_execution_error"`
24247
24248 - `"mcp_tool_execution_error"`
24249
24250 - `HTTPError object { code, message, type }`
24251
24252 - `code: number`
24253
24254 - `message: string`
24255
24256 - `type: "http_error"`
24257
24258 - `"http_error"`
24259
24146 - `output: optional string or null`24260 - `output: optional string or null`
24147 24261
24148 The output from the tool call.24262 The output from the tool call.
28291 for reasoning items returned by `POST /v1/responses` and WebSocket28405 for reasoning items returned by `POST /v1/responses` and WebSocket
28292 `response.create` requests.28406 `response.create` requests.
28293 28407
28408 When streaming, use the completed reasoning item and its
28409 `encrypted_content` from the `response.output_item.done` event in
28410 subsequent requests. The `encrypted_content` in
28411 `response.output_item.added` may be incomplete. This is especially
28412 important when `store` is `false` or when using Zero Data Retention.
28413
28294 - `status: optional "in_progress" or "completed" or "incomplete"`28414 - `status: optional "in_progress" or "completed" or "incomplete"`
28295 28415
28296 The status of the item. One of `in_progress`, `completed`, or28416 The status of the item. One of `in_progress`, `completed`, or
29050 Unique identifier for the MCP tool call approval request.29170 Unique identifier for the MCP tool call approval request.
29051 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.29171 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
29052 29172
2905329173 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
29054 29174
29055 The error from the tool call, if any.29175 The error from the tool call, if any.
29056 29176
29177 - `string`
29178
29179 The error from the tool call, if any.
29180
29181 - `McpProtocolError object { code, message, type }`
29182
29183 - `code: number`
29184
29185 - `message: string`
29186
29187 - `type: "mcp_protocol_error"`
29188
29189 - `"mcp_protocol_error"`
29190
29191 - `McpToolExecutionError object { content, type }`
29192
29193 - `content: unknown`
29194
29195 - `type: "mcp_tool_execution_error"`
29196
29197 - `"mcp_tool_execution_error"`
29198
29199 - `HTTPError object { code, message, type }`
29200
29201 - `code: number`
29202
29203 - `message: string`
29204
29205 - `type: "http_error"`
29206
29207 - `"http_error"`
29208
29057 - `output: optional string or null`29209 - `output: optional string or null`
29058 29210
29059 The output from the tool call.29211 The output from the tool call.
33225 for reasoning items returned by `POST /v1/responses` and WebSocket33377 for reasoning items returned by `POST /v1/responses` and WebSocket
33226 `response.create` requests.33378 `response.create` requests.
33227 33379
33380 When streaming, use the completed reasoning item and its
33381 `encrypted_content` from the `response.output_item.done` event in
33382 subsequent requests. The `encrypted_content` in
33383 `response.output_item.added` may be incomplete. This is especially
33384 important when `store` is `false` or when using Zero Data Retention.
33385
33228 - `status: optional "in_progress" or "completed" or "incomplete"`33386 - `status: optional "in_progress" or "completed" or "incomplete"`
33229 33387
33230 The status of the item. One of `in_progress`, `completed`, or33388 The status of the item. One of `in_progress`, `completed`, or
33998 Unique identifier for the MCP tool call approval request.34156 Unique identifier for the MCP tool call approval request.
33999 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.34157 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
34000 34158
3400134159 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
34160
34161 The error from the tool call, if any.
34162
34163 - `string`
34002 34164
34003 The error from the tool call, if any.34165 The error from the tool call, if any.
34004 34166
34167 - `McpProtocolError object { code, message, type }`
34168
34169 - `code: number`
34170
34171 - `message: string`
34172
34173 - `type: "mcp_protocol_error"`
34174
34175 - `"mcp_protocol_error"`
34176
34177 - `McpToolExecutionError object { content, type }`
34178
34179 - `content: unknown`
34180
34181 - `type: "mcp_tool_execution_error"`
34182
34183 - `"mcp_tool_execution_error"`
34184
34185 - `HTTPError object { code, message, type }`
34186
34187 - `code: number`
34188
34189 - `message: string`
34190
34191 - `type: "http_error"`
34192
34193 - `"http_error"`
34194
34005 - `output: optional string or null`34195 - `output: optional string or null`
34006 34196
34007 The output from the tool call.34197 The output from the tool call.
39950 for reasoning items returned by `POST /v1/responses` and WebSocket40140 for reasoning items returned by `POST /v1/responses` and WebSocket
39951 `response.create` requests.40141 `response.create` requests.
39952 40142
40143 When streaming, use the completed reasoning item and its
40144 `encrypted_content` from the `response.output_item.done` event in
40145 subsequent requests. The `encrypted_content` in
40146 `response.output_item.added` may be incomplete. This is especially
40147 important when `store` is `false` or when using Zero Data Retention.
40148
39953 - `status: optional "in_progress" or "completed" or "incomplete"`40149 - `status: optional "in_progress" or "completed" or "incomplete"`
39954 40150
39955 The status of the item. One of `in_progress`, `completed`, or40151 The status of the item. One of `in_progress`, `completed`, or
40723 Unique identifier for the MCP tool call approval request.40919 Unique identifier for the MCP tool call approval request.
40724 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.40920 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
40725 40921
4072640922 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
40923
40924 The error from the tool call, if any.
40925
40926 - `string`
40727 40927
40728 The error from the tool call, if any.40928 The error from the tool call, if any.
40729 40929
40930 - `McpProtocolError object { code, message, type }`
40931
40932 - `code: number`
40933
40934 - `message: string`
40935
40936 - `type: "mcp_protocol_error"`
40937
40938 - `"mcp_protocol_error"`
40939
40940 - `McpToolExecutionError object { content, type }`
40941
40942 - `content: unknown`
40943
40944 - `type: "mcp_tool_execution_error"`
40945
40946 - `"mcp_tool_execution_error"`
40947
40948 - `HTTPError object { code, message, type }`
40949
40950 - `code: number`
40951
40952 - `message: string`
40953
40954 - `type: "http_error"`
40955
40956 - `"http_error"`
40957
40730 - `output: optional string or null`40958 - `output: optional string or null`
40731 40959
40732 The output from the tool call.40960 The output from the tool call.
42012 for reasoning items returned by `POST /v1/responses` and WebSocket42240 for reasoning items returned by `POST /v1/responses` and WebSocket
42013 `response.create` requests.42241 `response.create` requests.
42014 42242
42243 When streaming, use the completed reasoning item and its
42244 `encrypted_content` from the `response.output_item.done` event in
42245 subsequent requests. The `encrypted_content` in
42246 `response.output_item.added` may be incomplete. This is especially
42247 important when `store` is `false` or when using Zero Data Retention.
42248
42015 - `status: optional "in_progress" or "completed" or "incomplete"`42249 - `status: optional "in_progress" or "completed" or "incomplete"`
42016 42250
42017 The status of the item. One of `in_progress`, `completed`, or42251 The status of the item. One of `in_progress`, `completed`, or
44889 Unique identifier for the MCP tool call approval request.45123 Unique identifier for the MCP tool call approval request.
44890 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.45124 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
44891 45125
4489245126 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
44893 45127
44894 The error from the tool call, if any.45128 The error from the tool call, if any.
44895 45129
45130 - `string`
45131
45132 The error from the tool call, if any.
45133
45134 - `McpProtocolError object { code, message, type }`
45135
45136 - `code: number`
45137
45138 - `message: string`
45139
45140 - `type: "mcp_protocol_error"`
45141
45142 - `"mcp_protocol_error"`
45143
45144 - `McpToolExecutionError object { content, type }`
45145
45146 - `content: unknown`
45147
45148 - `type: "mcp_tool_execution_error"`
45149
45150 - `"mcp_tool_execution_error"`
45151
45152 - `HTTPError object { code, message, type }`
45153
45154 - `code: number`
45155
45156 - `message: string`
45157
45158 - `type: "http_error"`
45159
45160 - `"http_error"`
45161
44896 - `output: optional string or null`45162 - `output: optional string or null`
44897 45163
44898 The output from the tool call.45164 The output from the tool call.
51806 for reasoning items returned by `POST /v1/responses` and WebSocket52072 for reasoning items returned by `POST /v1/responses` and WebSocket
51807 `response.create` requests.52073 `response.create` requests.
51808 52074
52075 When streaming, use the completed reasoning item and its
52076 `encrypted_content` from the `response.output_item.done` event in
52077 subsequent requests. The `encrypted_content` in
52078 `response.output_item.added` may be incomplete. This is especially
52079 important when `store` is `false` or when using Zero Data Retention.
52080
51809 - `status: optional "in_progress" or "completed" or "incomplete"`52081 - `status: optional "in_progress" or "completed" or "incomplete"`
51810 52082
51811 The status of the item. One of `in_progress`, `completed`, or52083 The status of the item. One of `in_progress`, `completed`, or
52579 Unique identifier for the MCP tool call approval request.52851 Unique identifier for the MCP tool call approval request.
52580 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.52852 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
52581 52853
5258252854 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
52855
52856 The error from the tool call, if any.
52857
52858 - `string`
52583 52859
52584 The error from the tool call, if any.52860 The error from the tool call, if any.
52585 52861
52862 - `McpProtocolError object { code, message, type }`
52863
52864 - `code: number`
52865
52866 - `message: string`
52867
52868 - `type: "mcp_protocol_error"`
52869
52870 - `"mcp_protocol_error"`
52871
52872 - `McpToolExecutionError object { content, type }`
52873
52874 - `content: unknown`
52875
52876 - `type: "mcp_tool_execution_error"`
52877
52878 - `"mcp_tool_execution_error"`
52879
52880 - `HTTPError object { code, message, type }`
52881
52882 - `code: number`
52883
52884 - `message: string`
52885
52886 - `type: "http_error"`
52887
52888 - `"http_error"`
52889
52586 - `output: optional string or null`52890 - `output: optional string or null`
52587 52891
52588 The output from the tool call.52892 The output from the tool call.
53868 for reasoning items returned by `POST /v1/responses` and WebSocket54172 for reasoning items returned by `POST /v1/responses` and WebSocket
53869 `response.create` requests.54173 `response.create` requests.
53870 54174
54175 When streaming, use the completed reasoning item and its
54176 `encrypted_content` from the `response.output_item.done` event in
54177 subsequent requests. The `encrypted_content` in
54178 `response.output_item.added` may be incomplete. This is especially
54179 important when `store` is `false` or when using Zero Data Retention.
54180
53871 - `status: optional "in_progress" or "completed" or "incomplete"`54181 - `status: optional "in_progress" or "completed" or "incomplete"`
53872 54182
53873 The status of the item. One of `in_progress`, `completed`, or54183 The status of the item. One of `in_progress`, `completed`, or
56745 Unique identifier for the MCP tool call approval request.57055 Unique identifier for the MCP tool call approval request.
56746 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.57056 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
56747 57057
5674857058 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
57059
57060 The error from the tool call, if any.
57061
57062 - `string`
56749 57063
56750 The error from the tool call, if any.57064 The error from the tool call, if any.
56751 57065
57066 - `McpProtocolError object { code, message, type }`
57067
57068 - `code: number`
57069
57070 - `message: string`
57071
57072 - `type: "mcp_protocol_error"`
57073
57074 - `"mcp_protocol_error"`
57075
57076 - `McpToolExecutionError object { content, type }`
57077
57078 - `content: unknown`
57079
57080 - `type: "mcp_tool_execution_error"`
57081
57082 - `"mcp_tool_execution_error"`
57083
57084 - `HTTPError object { code, message, type }`
57085
57086 - `code: number`
57087
57088 - `message: string`
57089
57090 - `type: "http_error"`
57091
57092 - `"http_error"`
57093
56752 - `output: optional string or null`57094 - `output: optional string or null`
56753 57095
56754 The output from the tool call.57096 The output from the tool call.
62851 for reasoning items returned by `POST /v1/responses` and WebSocket63193 for reasoning items returned by `POST /v1/responses` and WebSocket
62852 `response.create` requests.63194 `response.create` requests.
62853 63195
63196 When streaming, use the completed reasoning item and its
63197 `encrypted_content` from the `response.output_item.done` event in
63198 subsequent requests. The `encrypted_content` in
63199 `response.output_item.added` may be incomplete. This is especially
63200 important when `store` is `false` or when using Zero Data Retention.
63201
62854 - `status: optional "in_progress" or "completed" or "incomplete"`63202 - `status: optional "in_progress" or "completed" or "incomplete"`
62855 63203
62856 The status of the item. One of `in_progress`, `completed`, or63204 The status of the item. One of `in_progress`, `completed`, or
63610 Unique identifier for the MCP tool call approval request.63958 Unique identifier for the MCP tool call approval request.
63611 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.63959 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
63612 63960
6361363961 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
63614 63962
63615 The error from the tool call, if any.63963 The error from the tool call, if any.
63616 63964
63965 - `string`
63966
63967 The error from the tool call, if any.
63968
63969 - `McpProtocolError object { code, message, type }`
63970
63971 - `code: number`
63972
63973 - `message: string`
63974
63975 - `type: "mcp_protocol_error"`
63976
63977 - `"mcp_protocol_error"`
63978
63979 - `McpToolExecutionError object { content, type }`
63980
63981 - `content: unknown`
63982
63983 - `type: "mcp_tool_execution_error"`
63984
63985 - `"mcp_tool_execution_error"`
63986
63987 - `HTTPError object { code, message, type }`
63988
63989 - `code: number`
63990
63991 - `message: string`
63992
63993 - `type: "http_error"`
63994
63995 - `"http_error"`
63996
63617 - `output: optional string or null`63997 - `output: optional string or null`
63618 63998
63619 The output from the tool call.63999 The output from the tool call.
68500 for reasoning items returned by `POST /v1/responses` and WebSocket68880 for reasoning items returned by `POST /v1/responses` and WebSocket
68501 `response.create` requests.68881 `response.create` requests.
68502 68882
68883 When streaming, use the completed reasoning item and its
68884 `encrypted_content` from the `response.output_item.done` event in
68885 subsequent requests. The `encrypted_content` in
68886 `response.output_item.added` may be incomplete. This is especially
68887 important when `store` is `false` or when using Zero Data Retention.
68888
68503 - `status: optional "in_progress" or "completed" or "incomplete"`68889 - `status: optional "in_progress" or "completed" or "incomplete"`
68504 68890
68505 The status of the item. One of `in_progress`, `completed`, or68891 The status of the item. One of `in_progress`, `completed`, or
69273 Unique identifier for the MCP tool call approval request.69659 Unique identifier for the MCP tool call approval request.
69274 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.69660 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
69275 69661
6927669662 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
69663
69664 The error from the tool call, if any.
69665
69666 - `string`
69277 69667
69278 The error from the tool call, if any.69668 The error from the tool call, if any.
69279 69669
69670 - `McpProtocolError object { code, message, type }`
69671
69672 - `code: number`
69673
69674 - `message: string`
69675
69676 - `type: "mcp_protocol_error"`
69677
69678 - `"mcp_protocol_error"`
69679
69680 - `McpToolExecutionError object { content, type }`
69681
69682 - `content: unknown`
69683
69684 - `type: "mcp_tool_execution_error"`
69685
69686 - `"mcp_tool_execution_error"`
69687
69688 - `HTTPError object { code, message, type }`
69689
69690 - `code: number`
69691
69692 - `message: string`
69693
69694 - `type: "http_error"`
69695
69696 - `"http_error"`
69697
69280 - `output: optional string or null`69698 - `output: optional string or null`
69281 69699
69282 The output from the tool call.69700 The output from the tool call.
70562 for reasoning items returned by `POST /v1/responses` and WebSocket70980 for reasoning items returned by `POST /v1/responses` and WebSocket
70563 `response.create` requests.70981 `response.create` requests.
70564 70982
70983 When streaming, use the completed reasoning item and its
70984 `encrypted_content` from the `response.output_item.done` event in
70985 subsequent requests. The `encrypted_content` in
70986 `response.output_item.added` may be incomplete. This is especially
70987 important when `store` is `false` or when using Zero Data Retention.
70988
70565 - `status: optional "in_progress" or "completed" or "incomplete"`70989 - `status: optional "in_progress" or "completed" or "incomplete"`
70566 70990
70567 The status of the item. One of `in_progress`, `completed`, or70991 The status of the item. One of `in_progress`, `completed`, or
73439 Unique identifier for the MCP tool call approval request.73863 Unique identifier for the MCP tool call approval request.
73440 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.73864 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
73441 73865
7344273866 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
73867
73868 The error from the tool call, if any.
73869
73870 - `string`
73443 73871
73444 The error from the tool call, if any.73872 The error from the tool call, if any.
73445 73873
73874 - `McpProtocolError object { code, message, type }`
73875
73876 - `code: number`
73877
73878 - `message: string`
73879
73880 - `type: "mcp_protocol_error"`
73881
73882 - `"mcp_protocol_error"`
73883
73884 - `McpToolExecutionError object { content, type }`
73885
73886 - `content: unknown`
73887
73888 - `type: "mcp_tool_execution_error"`
73889
73890 - `"mcp_tool_execution_error"`
73891
73892 - `HTTPError object { code, message, type }`
73893
73894 - `code: number`
73895
73896 - `message: string`
73897
73898 - `type: "http_error"`
73899
73900 - `"http_error"`
73901
73446 - `output: optional string or null`73902 - `output: optional string or null`
73447 73903
73448 The output from the tool call.73904 The output from the tool call.
79579 for reasoning items returned by `POST /v1/responses` and WebSocket80035 for reasoning items returned by `POST /v1/responses` and WebSocket
79580 `response.create` requests.80036 `response.create` requests.
79581 80037
80038 When streaming, use the completed reasoning item and its
80039 `encrypted_content` from the `response.output_item.done` event in
80040 subsequent requests. The `encrypted_content` in
80041 `response.output_item.added` may be incomplete. This is especially
80042 important when `store` is `false` or when using Zero Data Retention.
80043
79582 - `status: optional "in_progress" or "completed" or "incomplete"`80044 - `status: optional "in_progress" or "completed" or "incomplete"`
79583 80045
79584 The status of the item. One of `in_progress`, `completed`, or80046 The status of the item. One of `in_progress`, `completed`, or
80352 Unique identifier for the MCP tool call approval request.80814 Unique identifier for the MCP tool call approval request.
80353 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.80815 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
80354 80816
8035580817 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
80356 80818
80357 The error from the tool call, if any.80819 The error from the tool call, if any.
80358 80820
80821 - `string`
80822
80823 The error from the tool call, if any.
80824
80825 - `McpProtocolError object { code, message, type }`
80826
80827 - `code: number`
80828
80829 - `message: string`
80830
80831 - `type: "mcp_protocol_error"`
80832
80833 - `"mcp_protocol_error"`
80834
80835 - `McpToolExecutionError object { content, type }`
80836
80837 - `content: unknown`
80838
80839 - `type: "mcp_tool_execution_error"`
80840
80841 - `"mcp_tool_execution_error"`
80842
80843 - `HTTPError object { code, message, type }`
80844
80845 - `code: number`
80846
80847 - `message: string`
80848
80849 - `type: "http_error"`
80850
80851 - `"http_error"`
80852
80359 - `output: optional string or null`80853 - `output: optional string or null`
80360 80854
80361 The output from the tool call.80855 The output from the tool call.
81641 for reasoning items returned by `POST /v1/responses` and WebSocket82135 for reasoning items returned by `POST /v1/responses` and WebSocket
81642 `response.create` requests.82136 `response.create` requests.
81643 82137
82138 When streaming, use the completed reasoning item and its
82139 `encrypted_content` from the `response.output_item.done` event in
82140 subsequent requests. The `encrypted_content` in
82141 `response.output_item.added` may be incomplete. This is especially
82142 important when `store` is `false` or when using Zero Data Retention.
82143
81644 - `status: optional "in_progress" or "completed" or "incomplete"`82144 - `status: optional "in_progress" or "completed" or "incomplete"`
81645 82145
81646 The status of the item. One of `in_progress`, `completed`, or82146 The status of the item. One of `in_progress`, `completed`, or
84518 Unique identifier for the MCP tool call approval request.85018 Unique identifier for the MCP tool call approval request.
84519 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.85019 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
84520 85020
8452185021 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
85022
85023 The error from the tool call, if any.
85024
85025 - `string`
84522 85026
84523 The error from the tool call, if any.85027 The error from the tool call, if any.
84524 85028
85029 - `McpProtocolError object { code, message, type }`
85030
85031 - `code: number`
85032
85033 - `message: string`
85034
85035 - `type: "mcp_protocol_error"`
85036
85037 - `"mcp_protocol_error"`
85038
85039 - `McpToolExecutionError object { content, type }`
85040
85041 - `content: unknown`
85042
85043 - `type: "mcp_tool_execution_error"`
85044
85045 - `"mcp_tool_execution_error"`
85046
85047 - `HTTPError object { code, message, type }`
85048
85049 - `code: number`
85050
85051 - `message: string`
85052
85053 - `type: "http_error"`
85054
85055 - `"http_error"`
85056
84525 - `output: optional string or null`85057 - `output: optional string or null`
84526 85058
84527 The output from the tool call.85059 The output from the tool call.
91119 for reasoning items returned by `POST /v1/responses` and WebSocket91651 for reasoning items returned by `POST /v1/responses` and WebSocket
91120 `response.create` requests.91652 `response.create` requests.
91121 91653
91654 When streaming, use the completed reasoning item and its
91655 `encrypted_content` from the `response.output_item.done` event in
91656 subsequent requests. The `encrypted_content` in
91657 `response.output_item.added` may be incomplete. This is especially
91658 important when `store` is `false` or when using Zero Data Retention.
91659
91122 - `status: optional "in_progress" or "completed" or "incomplete"`91660 - `status: optional "in_progress" or "completed" or "incomplete"`
91123 91661
91124 The status of the item. One of `in_progress`, `completed`, or91662 The status of the item. One of `in_progress`, `completed`, or
91892 Unique identifier for the MCP tool call approval request.92430 Unique identifier for the MCP tool call approval request.
91893 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.92431 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
91894 92432
9189592433 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
92434
92435 The error from the tool call, if any.
92436
92437 - `string`
91896 92438
91897 The error from the tool call, if any.92439 The error from the tool call, if any.
91898 92440
92441 - `McpProtocolError object { code, message, type }`
92442
92443 - `code: number`
92444
92445 - `message: string`
92446
92447 - `type: "mcp_protocol_error"`
92448
92449 - `"mcp_protocol_error"`
92450
92451 - `McpToolExecutionError object { content, type }`
92452
92453 - `content: unknown`
92454
92455 - `type: "mcp_tool_execution_error"`
92456
92457 - `"mcp_tool_execution_error"`
92458
92459 - `HTTPError object { code, message, type }`
92460
92461 - `code: number`
92462
92463 - `message: string`
92464
92465 - `type: "http_error"`
92466
92467 - `"http_error"`
92468
91899 - `output: optional string or null`92469 - `output: optional string or null`
91900 92470
91901 The output from the tool call.92471 The output from the tool call.
93181 for reasoning items returned by `POST /v1/responses` and WebSocket93751 for reasoning items returned by `POST /v1/responses` and WebSocket
93182 `response.create` requests.93752 `response.create` requests.
93183 93753
93754 When streaming, use the completed reasoning item and its
93755 `encrypted_content` from the `response.output_item.done` event in
93756 subsequent requests. The `encrypted_content` in
93757 `response.output_item.added` may be incomplete. This is especially
93758 important when `store` is `false` or when using Zero Data Retention.
93759
93184 - `status: optional "in_progress" or "completed" or "incomplete"`93760 - `status: optional "in_progress" or "completed" or "incomplete"`
93185 93761
93186 The status of the item. One of `in_progress`, `completed`, or93762 The status of the item. One of `in_progress`, `completed`, or
96058 Unique identifier for the MCP tool call approval request.96634 Unique identifier for the MCP tool call approval request.
96059 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.96635 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
96060 96636
9606196637 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
96062 96638
96063 The error from the tool call, if any.96639 The error from the tool call, if any.
96064 96640
96641 - `string`
96642
96643 The error from the tool call, if any.
96644
96645 - `McpProtocolError object { code, message, type }`
96646
96647 - `code: number`
96648
96649 - `message: string`
96650
96651 - `type: "mcp_protocol_error"`
96652
96653 - `"mcp_protocol_error"`
96654
96655 - `McpToolExecutionError object { content, type }`
96656
96657 - `content: unknown`
96658
96659 - `type: "mcp_tool_execution_error"`
96660
96661 - `"mcp_tool_execution_error"`
96662
96663 - `HTTPError object { code, message, type }`
96664
96665 - `code: number`
96666
96667 - `message: string`
96668
96669 - `type: "http_error"`
96670
96671 - `"http_error"`
96672
96065 - `output: optional string or null`96673 - `output: optional string or null`
96066 96674
96067 The output from the tool call.96675 The output from the tool call.
102106 for reasoning items returned by `POST /v1/responses` and WebSocket102714 for reasoning items returned by `POST /v1/responses` and WebSocket
102107 `response.create` requests.102715 `response.create` requests.
102108 102716
102717 When streaming, use the completed reasoning item and its
102718 `encrypted_content` from the `response.output_item.done` event in
102719 subsequent requests. The `encrypted_content` in
102720 `response.output_item.added` may be incomplete. This is especially
102721 important when `store` is `false` or when using Zero Data Retention.
102722
102109 - `status: optional "in_progress" or "completed" or "incomplete"`102723 - `status: optional "in_progress" or "completed" or "incomplete"`
102110 102724
102111 The status of the item. One of `in_progress`, `completed`, or102725 The status of the item. One of `in_progress`, `completed`, or
102879 Unique identifier for the MCP tool call approval request.103493 Unique identifier for the MCP tool call approval request.
102880 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.103494 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
102881 103495
102882103496 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
103497
103498 The error from the tool call, if any.
103499
103500 - `string`
102883 103501
102884 The error from the tool call, if any.103502 The error from the tool call, if any.
102885 103503
103504 - `McpProtocolError object { code, message, type }`
103505
103506 - `code: number`
103507
103508 - `message: string`
103509
103510 - `type: "mcp_protocol_error"`
103511
103512 - `"mcp_protocol_error"`
103513
103514 - `McpToolExecutionError object { content, type }`
103515
103516 - `content: unknown`
103517
103518 - `type: "mcp_tool_execution_error"`
103519
103520 - `"mcp_tool_execution_error"`
103521
103522 - `HTTPError object { code, message, type }`
103523
103524 - `code: number`
103525
103526 - `message: string`
103527
103528 - `type: "http_error"`
103529
103530 - `"http_error"`
103531
102886 - `output: optional string or null`103532 - `output: optional string or null`
102887 103533
102888 The output from the tool call.103534 The output from the tool call.
104168 for reasoning items returned by `POST /v1/responses` and WebSocket104814 for reasoning items returned by `POST /v1/responses` and WebSocket
104169 `response.create` requests.104815 `response.create` requests.
104170 104816
104817 When streaming, use the completed reasoning item and its
104818 `encrypted_content` from the `response.output_item.done` event in
104819 subsequent requests. The `encrypted_content` in
104820 `response.output_item.added` may be incomplete. This is especially
104821 important when `store` is `false` or when using Zero Data Retention.
104822
104171 - `status: optional "in_progress" or "completed" or "incomplete"`104823 - `status: optional "in_progress" or "completed" or "incomplete"`
104172 104824
104173 The status of the item. One of `in_progress`, `completed`, or104825 The status of the item. One of `in_progress`, `completed`, or
107045 Unique identifier for the MCP tool call approval request.107697 Unique identifier for the MCP tool call approval request.
107046 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.107698 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
107047 107699
107048107700 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
107701
107702 The error from the tool call, if any.
107703
107704 - `string`
107049 107705
107050 The error from the tool call, if any.107706 The error from the tool call, if any.
107051 107707
107708 - `McpProtocolError object { code, message, type }`
107709
107710 - `code: number`
107711
107712 - `message: string`
107713
107714 - `type: "mcp_protocol_error"`
107715
107716 - `"mcp_protocol_error"`
107717
107718 - `McpToolExecutionError object { content, type }`
107719
107720 - `content: unknown`
107721
107722 - `type: "mcp_tool_execution_error"`
107723
107724 - `"mcp_tool_execution_error"`
107725
107726 - `HTTPError object { code, message, type }`
107727
107728 - `code: number`
107729
107730 - `message: string`
107731
107732 - `type: "http_error"`
107733
107734 - `"http_error"`
107735
107052 - `output: optional string or null`107736 - `output: optional string or null`
107053 107737
107054 The output from the tool call.107738 The output from the tool call.
113390 for reasoning items returned by `POST /v1/responses` and WebSocket114074 for reasoning items returned by `POST /v1/responses` and WebSocket
113391 `response.create` requests.114075 `response.create` requests.
113392 114076
114077 When streaming, use the completed reasoning item and its
114078 `encrypted_content` from the `response.output_item.done` event in
114079 subsequent requests. The `encrypted_content` in
114080 `response.output_item.added` may be incomplete. This is especially
114081 important when `store` is `false` or when using Zero Data Retention.
114082
113393 - `status: optional "in_progress" or "completed" or "incomplete"`114083 - `status: optional "in_progress" or "completed" or "incomplete"`
113394 114084
113395 The status of the item. One of `in_progress`, `completed`, or114085 The status of the item. One of `in_progress`, `completed`, or
114163 Unique identifier for the MCP tool call approval request.114853 Unique identifier for the MCP tool call approval request.
114164 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.114854 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
114165 114855
114166114856 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
114167 114857
114168 The error from the tool call, if any.114858 The error from the tool call, if any.
114169 114859
114860 - `string`
114861
114862 The error from the tool call, if any.
114863
114864 - `McpProtocolError object { code, message, type }`
114865
114866 - `code: number`
114867
114868 - `message: string`
114869
114870 - `type: "mcp_protocol_error"`
114871
114872 - `"mcp_protocol_error"`
114873
114874 - `McpToolExecutionError object { content, type }`
114875
114876 - `content: unknown`
114877
114878 - `type: "mcp_tool_execution_error"`
114879
114880 - `"mcp_tool_execution_error"`
114881
114882 - `HTTPError object { code, message, type }`
114883
114884 - `code: number`
114885
114886 - `message: string`
114887
114888 - `type: "http_error"`
114889
114890 - `"http_error"`
114891
114170 - `output: optional string or null`114892 - `output: optional string or null`
114171 114893
114172 The output from the tool call.114894 The output from the tool call.
115452 for reasoning items returned by `POST /v1/responses` and WebSocket116174 for reasoning items returned by `POST /v1/responses` and WebSocket
115453 `response.create` requests.116175 `response.create` requests.
115454 116176
116177 When streaming, use the completed reasoning item and its
116178 `encrypted_content` from the `response.output_item.done` event in
116179 subsequent requests. The `encrypted_content` in
116180 `response.output_item.added` may be incomplete. This is especially
116181 important when `store` is `false` or when using Zero Data Retention.
116182
115455 - `status: optional "in_progress" or "completed" or "incomplete"`116183 - `status: optional "in_progress" or "completed" or "incomplete"`
115456 116184
115457 The status of the item. One of `in_progress`, `completed`, or116185 The status of the item. One of `in_progress`, `completed`, or
118329 Unique identifier for the MCP tool call approval request.119057 Unique identifier for the MCP tool call approval request.
118330 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.119058 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
118331 119059
118332119060 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
119061
119062 The error from the tool call, if any.
119063
119064 - `string`
118333 119065
118334 The error from the tool call, if any.119066 The error from the tool call, if any.
118335 119067
119068 - `McpProtocolError object { code, message, type }`
119069
119070 - `code: number`
119071
119072 - `message: string`
119073
119074 - `type: "mcp_protocol_error"`
119075
119076 - `"mcp_protocol_error"`
119077
119078 - `McpToolExecutionError object { content, type }`
119079
119080 - `content: unknown`
119081
119082 - `type: "mcp_tool_execution_error"`
119083
119084 - `"mcp_tool_execution_error"`
119085
119086 - `HTTPError object { code, message, type }`
119087
119088 - `code: number`
119089
119090 - `message: string`
119091
119092 - `type: "http_error"`
119093
119094 - `"http_error"`
119095
118336 - `output: optional string or null`119096 - `output: optional string or null`
118337 119097
118338 The output from the tool call.119098 The output from the tool call.
124246 for reasoning items returned by `POST /v1/responses` and WebSocket125006 for reasoning items returned by `POST /v1/responses` and WebSocket
124247 `response.create` requests.125007 `response.create` requests.
124248 125008
125009 When streaming, use the completed reasoning item and its
125010 `encrypted_content` from the `response.output_item.done` event in
125011 subsequent requests. The `encrypted_content` in
125012 `response.output_item.added` may be incomplete. This is especially
125013 important when `store` is `false` or when using Zero Data Retention.
125014
124249 - `status: optional "in_progress" or "completed" or "incomplete"`125015 - `status: optional "in_progress" or "completed" or "incomplete"`
124250 125016
124251 The status of the item. One of `in_progress`, `completed`, or125017 The status of the item. One of `in_progress`, `completed`, or
125019 Unique identifier for the MCP tool call approval request.125785 Unique identifier for the MCP tool call approval request.
125020 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.125786 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
125021 125787
125022125788 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
125789
125790 The error from the tool call, if any.
125791
125792 - `string`
125023 125793
125024 The error from the tool call, if any.125794 The error from the tool call, if any.
125025 125795
125796 - `McpProtocolError object { code, message, type }`
125797
125798 - `code: number`
125799
125800 - `message: string`
125801
125802 - `type: "mcp_protocol_error"`
125803
125804 - `"mcp_protocol_error"`
125805
125806 - `McpToolExecutionError object { content, type }`
125807
125808 - `content: unknown`
125809
125810 - `type: "mcp_tool_execution_error"`
125811
125812 - `"mcp_tool_execution_error"`
125813
125814 - `HTTPError object { code, message, type }`
125815
125816 - `code: number`
125817
125818 - `message: string`
125819
125820 - `type: "http_error"`
125821
125822 - `"http_error"`
125823
125026 - `output: optional string or null`125824 - `output: optional string or null`
125027 125825
125028 The output from the tool call.125826 The output from the tool call.
126308 for reasoning items returned by `POST /v1/responses` and WebSocket127106 for reasoning items returned by `POST /v1/responses` and WebSocket
126309 `response.create` requests.127107 `response.create` requests.
126310 127108
127109 When streaming, use the completed reasoning item and its
127110 `encrypted_content` from the `response.output_item.done` event in
127111 subsequent requests. The `encrypted_content` in
127112 `response.output_item.added` may be incomplete. This is especially
127113 important when `store` is `false` or when using Zero Data Retention.
127114
126311 - `status: optional "in_progress" or "completed" or "incomplete"`127115 - `status: optional "in_progress" or "completed" or "incomplete"`
126312 127116
126313 The status of the item. One of `in_progress`, `completed`, or127117 The status of the item. One of `in_progress`, `completed`, or
129185 Unique identifier for the MCP tool call approval request.129989 Unique identifier for the MCP tool call approval request.
129186 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.129990 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
129187 129991
129188129992 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
129189 129993
129190 The error from the tool call, if any.129994 The error from the tool call, if any.
129191 129995
129996 - `string`
129997
129998 The error from the tool call, if any.
129999
130000 - `McpProtocolError object { code, message, type }`
130001
130002 - `code: number`
130003
130004 - `message: string`
130005
130006 - `type: "mcp_protocol_error"`
130007
130008 - `"mcp_protocol_error"`
130009
130010 - `McpToolExecutionError object { content, type }`
130011
130012 - `content: unknown`
130013
130014 - `type: "mcp_tool_execution_error"`
130015
130016 - `"mcp_tool_execution_error"`
130017
130018 - `HTTPError object { code, message, type }`
130019
130020 - `code: number`
130021
130022 - `message: string`
130023
130024 - `type: "http_error"`
130025
130026 - `"http_error"`
130027
129192 - `output: optional string or null`130028 - `output: optional string or null`
129193 130029
129194 The output from the tool call.130030 The output from the tool call.
135009 for reasoning items returned by `POST /v1/responses` and WebSocket135845 for reasoning items returned by `POST /v1/responses` and WebSocket
135010 `response.create` requests.135846 `response.create` requests.
135011 135847
135848 When streaming, use the completed reasoning item and its
135849 `encrypted_content` from the `response.output_item.done` event in
135850 subsequent requests. The `encrypted_content` in
135851 `response.output_item.added` may be incomplete. This is especially
135852 important when `store` is `false` or when using Zero Data Retention.
135853
135012 - `status: optional "in_progress" or "completed" or "incomplete"`135854 - `status: optional "in_progress" or "completed" or "incomplete"`
135013 135855
135014 The status of the item. One of `in_progress`, `completed`, or135856 The status of the item. One of `in_progress`, `completed`, or
135782 Unique identifier for the MCP tool call approval request.136624 Unique identifier for the MCP tool call approval request.
135783 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.136625 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
135784 136626
135785136627 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
136628
136629 The error from the tool call, if any.
136630
136631 - `string`
135786 136632
135787 The error from the tool call, if any.136633 The error from the tool call, if any.
135788 136634
136635 - `McpProtocolError object { code, message, type }`
136636
136637 - `code: number`
136638
136639 - `message: string`
136640
136641 - `type: "mcp_protocol_error"`
136642
136643 - `"mcp_protocol_error"`
136644
136645 - `McpToolExecutionError object { content, type }`
136646
136647 - `content: unknown`
136648
136649 - `type: "mcp_tool_execution_error"`
136650
136651 - `"mcp_tool_execution_error"`
136652
136653 - `HTTPError object { code, message, type }`
136654
136655 - `code: number`
136656
136657 - `message: string`
136658
136659 - `type: "http_error"`
136660
136661 - `"http_error"`
136662
135789 - `output: optional string or null`136663 - `output: optional string or null`
135790 136664
135791 The output from the tool call.136665 The output from the tool call.
139835 for reasoning items returned by `POST /v1/responses` and WebSocket140709 for reasoning items returned by `POST /v1/responses` and WebSocket
139836 `response.create` requests.140710 `response.create` requests.
139837 140711
140712 When streaming, use the completed reasoning item and its
140713 `encrypted_content` from the `response.output_item.done` event in
140714 subsequent requests. The `encrypted_content` in
140715 `response.output_item.added` may be incomplete. This is especially
140716 important when `store` is `false` or when using Zero Data Retention.
140717
139838 - `status: optional "in_progress" or "completed" or "incomplete"`140718 - `status: optional "in_progress" or "completed" or "incomplete"`
139839 140719
139840 The status of the item. One of `in_progress`, `completed`, or140720 The status of the item. One of `in_progress`, `completed`, or
140608 Unique identifier for the MCP tool call approval request.141488 Unique identifier for the MCP tool call approval request.
140609 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.141489 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
140610 141490
140611141491 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
141492
141493 The error from the tool call, if any.
141494
141495 - `string`
140612 141496
140613 The error from the tool call, if any.141497 The error from the tool call, if any.
140614 141498
141499 - `McpProtocolError object { code, message, type }`
141500
141501 - `code: number`
141502
141503 - `message: string`
141504
141505 - `type: "mcp_protocol_error"`
141506
141507 - `"mcp_protocol_error"`
141508
141509 - `McpToolExecutionError object { content, type }`
141510
141511 - `content: unknown`
141512
141513 - `type: "mcp_tool_execution_error"`
141514
141515 - `"mcp_tool_execution_error"`
141516
141517 - `HTTPError object { code, message, type }`
141518
141519 - `code: number`
141520
141521 - `message: string`
141522
141523 - `type: "http_error"`
141524
141525 - `"http_error"`
141526
140615 - `output: optional string or null`141527 - `output: optional string or null`
140616 141528
140617 The output from the tool call.141529 The output from the tool call.
143155 for reasoning items returned by `POST /v1/responses` and WebSocket144067 for reasoning items returned by `POST /v1/responses` and WebSocket
143156 `response.create` requests.144068 `response.create` requests.
143157 144069
144070 When streaming, use the completed reasoning item and its
144071 `encrypted_content` from the `response.output_item.done` event in
144072 subsequent requests. The `encrypted_content` in
144073 `response.output_item.added` may be incomplete. This is especially
144074 important when `store` is `false` or when using Zero Data Retention.
144075
143158 - `status: optional "in_progress" or "completed" or "incomplete"`144076 - `status: optional "in_progress" or "completed" or "incomplete"`
143159 144077
143160 The status of the item. One of `in_progress`, `completed`, or144078 The status of the item. One of `in_progress`, `completed`, or
146182 Unique identifier for the MCP tool call approval request.147100 Unique identifier for the MCP tool call approval request.
146183 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.147101 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
146184 147102
146185147103 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
146186 147104
146187 The error from the tool call, if any.147105 The error from the tool call, if any.
146188 147106
147107 - `string`
147108
147109 The error from the tool call, if any.
147110
147111 - `McpProtocolError object { code, message, type }`
147112
147113 - `code: number`
147114
147115 - `message: string`
147116
147117 - `type: "mcp_protocol_error"`
147118
147119 - `"mcp_protocol_error"`
147120
147121 - `McpToolExecutionError object { content, type }`
147122
147123 - `content: unknown`
147124
147125 - `type: "mcp_tool_execution_error"`
147126
147127 - `"mcp_tool_execution_error"`
147128
147129 - `HTTPError object { code, message, type }`
147130
147131 - `code: number`
147132
147133 - `message: string`
147134
147135 - `type: "http_error"`
147136
147137 - `"http_error"`
147138
146189 - `output: optional string or null`147139 - `output: optional string or null`
146190 147140
146191 The output from the tool call.147141 The output from the tool call.
146476 147426
146477 - `item: BetaResponseOutputItem`147427 - `item: BetaResponseOutputItem`
146478 147428
146479147429 The output item that was added. The output item that was added. For reasoning items, `encrypted_content`
147430 may be incomplete while the item is in progress. Use the reasoning item
147431 from the corresponding `response.output_item.done` event when passing it
147432 as input to a subsequent request.
146480 147433
146481 - `BetaResponseOutputMessage object { id, content, role, 4 more }`147434 - `BetaResponseOutputMessage object { id, content, role, 4 more }`
146482 147435
147791 for reasoning items returned by `POST /v1/responses` and WebSocket148744 for reasoning items returned by `POST /v1/responses` and WebSocket
147792 `response.create` requests.148745 `response.create` requests.
147793 148746
148747 When streaming, use the completed reasoning item and its
148748 `encrypted_content` from the `response.output_item.done` event in
148749 subsequent requests. The `encrypted_content` in
148750 `response.output_item.added` may be incomplete. This is especially
148751 important when `store` is `false` or when using Zero Data Retention.
148752
147794 - `status: optional "in_progress" or "completed" or "incomplete"`148753 - `status: optional "in_progress" or "completed" or "incomplete"`
147795 148754
147796 The status of the item. One of `in_progress`, `completed`, or148755 The status of the item. One of `in_progress`, `completed`, or
150818 Unique identifier for the MCP tool call approval request.151777 Unique identifier for the MCP tool call approval request.
150819 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.151778 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
150820 151779
150821151780 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
151781
151782 The error from the tool call, if any.
151783
151784 - `string`
150822 151785
150823 The error from the tool call, if any.151786 The error from the tool call, if any.
150824 151787
151788 - `McpProtocolError object { code, message, type }`
151789
151790 - `code: number`
151791
151792 - `message: string`
151793
151794 - `type: "mcp_protocol_error"`
151795
151796 - `"mcp_protocol_error"`
151797
151798 - `McpToolExecutionError object { content, type }`
151799
151800 - `content: unknown`
151801
151802 - `type: "mcp_tool_execution_error"`
151803
151804 - `"mcp_tool_execution_error"`
151805
151806 - `HTTPError object { code, message, type }`
151807
151808 - `code: number`
151809
151810 - `message: string`
151811
151812 - `type: "http_error"`
151813
151814 - `"http_error"`
151815
150825 - `output: optional string or null`151816 - `output: optional string or null`
150826 151817
150827 The output from the tool call.151818 The output from the tool call.
152449 for reasoning items returned by `POST /v1/responses` and WebSocket153440 for reasoning items returned by `POST /v1/responses` and WebSocket
152450 `response.create` requests.153441 `response.create` requests.
152451 153442
153443 When streaming, use the completed reasoning item and its
153444 `encrypted_content` from the `response.output_item.done` event in
153445 subsequent requests. The `encrypted_content` in
153446 `response.output_item.added` may be incomplete. This is especially
153447 important when `store` is `false` or when using Zero Data Retention.
153448
152452 - `status: optional "in_progress" or "completed" or "incomplete"`153449 - `status: optional "in_progress" or "completed" or "incomplete"`
152453 153450
152454 The status of the item. One of `in_progress`, `completed`, or153451 The status of the item. One of `in_progress`, `completed`, or
155476 Unique identifier for the MCP tool call approval request.156473 Unique identifier for the MCP tool call approval request.
155477 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.156474 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
155478 156475
155479156476 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
156477
156478 The error from the tool call, if any.
156479
156480 - `string`
155480 156481
155481 The error from the tool call, if any.156482 The error from the tool call, if any.
155482 156483
156484 - `McpProtocolError object { code, message, type }`
156485
156486 - `code: number`
156487
156488 - `message: string`
156489
156490 - `type: "mcp_protocol_error"`
156491
156492 - `"mcp_protocol_error"`
156493
156494 - `McpToolExecutionError object { content, type }`
156495
156496 - `content: unknown`
156497
156498 - `type: "mcp_tool_execution_error"`
156499
156500 - `"mcp_tool_execution_error"`
156501
156502 - `HTTPError object { code, message, type }`
156503
156504 - `code: number`
156505
156506 - `message: string`
156507
156508 - `type: "http_error"`
156509
156510 - `"http_error"`
156511
155483 - `output: optional string or null`156512 - `output: optional string or null`
155484 156513
155485 The output from the tool call.156514 The output from the tool call.
156137 157166
156138 Emitted when an annotation is added to output text content.157167 Emitted when an annotation is added to output text content.
156139 157168
156140157169 - `annotation: unknown` - `annotation: object { file_id, filename, index, type } or object { end_index, start_index, title, 2 more } or object { container_id, end_index, file_id, 3 more } or object { file_id, index, type } or null`
156141 157170
156142157171 The annotation object being added. (See annotation schema for details.) An annotation that applies to a span of output text.
157172
157173 - `FileCitation object { file_id, filename, index, type }`
157174
157175 A citation to a file.
157176
157177 - `file_id: string`
157178
157179 The ID of the file.
157180
157181 - `filename: string`
157182
157183 The filename of the file cited.
157184
157185 - `index: number`
157186
157187 The index of the file in the list of files.
157188
157189 - `type: "file_citation"`
157190
157191 The type of the file citation. Always `file_citation`.
157192
157193 - `"file_citation"`
157194
157195 - `URLCitation object { end_index, start_index, title, 2 more }`
157196
157197 A citation for a web resource used to generate a model response.
157198
157199 - `end_index: number`
157200
157201 The index of the last character of the URL citation in the message.
157202
157203 - `start_index: number`
157204
157205 The index of the first character of the URL citation in the message.
157206
157207 - `title: string`
157208
157209 The title of the web resource.
157210
157211 - `type: "url_citation"`
157212
157213 The type of the URL citation. Always `url_citation`.
157214
157215 - `"url_citation"`
157216
157217 - `url: string`
157218
157219 The URL of the web resource.
157220
157221 - `ContainerFileCitation object { container_id, end_index, file_id, 3 more }`
157222
157223 A citation for a container file used to generate a model response.
157224
157225 - `container_id: string`
157226
157227 The ID of the container file.
157228
157229 - `end_index: number`
157230
157231 The index of the last character of the container file citation in the message.
157232
157233 - `file_id: string`
157234
157235 The ID of the file.
157236
157237 - `filename: string`
157238
157239 The filename of the container file cited.
157240
157241 - `start_index: number`
157242
157243 The index of the first character of the container file citation in the message.
157244
157245 - `type: "container_file_citation"`
157246
157247 The type of the container file citation. Always `container_file_citation`.
157248
157249 - `"container_file_citation"`
157250
157251 - `FilePath object { file_id, index, type }`
157252
157253 A path to a file.
157254
157255 - `file_id: string`
157256
157257 The ID of the file.
157258
157259 - `index: number`
157260
157261 The index of the file in the list of files.
157262
157263 - `type: "file_path"`
157264
157265 The type of the file path. Always `file_path`.
157266
157267 - `"file_path"`
156143 157268
156144 - `annotation_index: number`157269 - `annotation_index: number`
156145 157270
160160 for reasoning items returned by `POST /v1/responses` and WebSocket161285 for reasoning items returned by `POST /v1/responses` and WebSocket
160161 `response.create` requests.161286 `response.create` requests.
160162 161287
161288 When streaming, use the completed reasoning item and its
161289 `encrypted_content` from the `response.output_item.done` event in
161290 subsequent requests. The `encrypted_content` in
161291 `response.output_item.added` may be incomplete. This is especially
161292 important when `store` is `false` or when using Zero Data Retention.
161293
160163 - `status: optional "in_progress" or "completed" or "incomplete"`161294 - `status: optional "in_progress" or "completed" or "incomplete"`
160164 161295
160165 The status of the item. One of `in_progress`, `completed`, or161296 The status of the item. One of `in_progress`, `completed`, or
160933 Unique identifier for the MCP tool call approval request.162064 Unique identifier for the MCP tool call approval request.
160934 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.162065 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
160935 162066
160936162067 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
162068
162069 The error from the tool call, if any.
162070
162071 - `string`
160937 162072
160938 The error from the tool call, if any.162073 The error from the tool call, if any.
160939 162074
162075 - `McpProtocolError object { code, message, type }`
162076
162077 - `code: number`
162078
162079 - `message: string`
162080
162081 - `type: "mcp_protocol_error"`
162082
162083 - `"mcp_protocol_error"`
162084
162085 - `McpToolExecutionError object { content, type }`
162086
162087 - `content: unknown`
162088
162089 - `type: "mcp_tool_execution_error"`
162090
162091 - `"mcp_tool_execution_error"`
162092
162093 - `HTTPError object { code, message, type }`
162094
162095 - `code: number`
162096
162097 - `message: string`
162098
162099 - `type: "http_error"`
162100
162101 - `"http_error"`
162102
160940 - `output: optional string or null`162103 - `output: optional string or null`
160941 162104
160942 The output from the tool call.162105 The output from the tool call.
162222 for reasoning items returned by `POST /v1/responses` and WebSocket163385 for reasoning items returned by `POST /v1/responses` and WebSocket
162223 `response.create` requests.163386 `response.create` requests.
162224 163387
163388 When streaming, use the completed reasoning item and its
163389 `encrypted_content` from the `response.output_item.done` event in
163390 subsequent requests. The `encrypted_content` in
163391 `response.output_item.added` may be incomplete. This is especially
163392 important when `store` is `false` or when using Zero Data Retention.
163393
162225 - `status: optional "in_progress" or "completed" or "incomplete"`163394 - `status: optional "in_progress" or "completed" or "incomplete"`
162226 163395
162227 The status of the item. One of `in_progress`, `completed`, or163396 The status of the item. One of `in_progress`, `completed`, or
165099 Unique identifier for the MCP tool call approval request.166268 Unique identifier for the MCP tool call approval request.
165100 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.166269 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
165101 166270
165102166271 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
166272
166273 The error from the tool call, if any.
166274
166275 - `string`
165103 166276
165104 The error from the tool call, if any.166277 The error from the tool call, if any.
165105 166278
166279 - `McpProtocolError object { code, message, type }`
166280
166281 - `code: number`
166282
166283 - `message: string`
166284
166285 - `type: "mcp_protocol_error"`
166286
166287 - `"mcp_protocol_error"`
166288
166289 - `McpToolExecutionError object { content, type }`
166290
166291 - `content: unknown`
166292
166293 - `type: "mcp_tool_execution_error"`
166294
166295 - `"mcp_tool_execution_error"`
166296
166297 - `HTTPError object { code, message, type }`
166298
166299 - `code: number`
166300
166301 - `message: string`
166302
166303 - `type: "http_error"`
166304
166305 - `"http_error"`
166306
165106 - `output: optional string or null`166307 - `output: optional string or null`
165107 166308
165108 The output from the tool call.166309 The output from the tool call.
171609 for reasoning items returned by `POST /v1/responses` and WebSocket172810 for reasoning items returned by `POST /v1/responses` and WebSocket
171610 `response.create` requests.172811 `response.create` requests.
171611 172812
172813 When streaming, use the completed reasoning item and its
172814 `encrypted_content` from the `response.output_item.done` event in
172815 subsequent requests. The `encrypted_content` in
172816 `response.output_item.added` may be incomplete. This is especially
172817 important when `store` is `false` or when using Zero Data Retention.
172818
171612 - `status: optional "in_progress" or "completed" or "incomplete"`172819 - `status: optional "in_progress" or "completed" or "incomplete"`
171613 172820
171614 The status of the item. One of `in_progress`, `completed`, or172821 The status of the item. One of `in_progress`, `completed`, or
172382 Unique identifier for the MCP tool call approval request.173589 Unique identifier for the MCP tool call approval request.
172383 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.173590 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
172384 173591
172385173592 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
173593
173594 The error from the tool call, if any.
173595
173596 - `string`
172386 173597
172387 The error from the tool call, if any.173598 The error from the tool call, if any.
172388 173599
173600 - `McpProtocolError object { code, message, type }`
173601
173602 - `code: number`
173603
173604 - `message: string`
173605
173606 - `type: "mcp_protocol_error"`
173607
173608 - `"mcp_protocol_error"`
173609
173610 - `McpToolExecutionError object { content, type }`
173611
173612 - `content: unknown`
173613
173614 - `type: "mcp_tool_execution_error"`
173615
173616 - `"mcp_tool_execution_error"`
173617
173618 - `HTTPError object { code, message, type }`
173619
173620 - `code: number`
173621
173622 - `message: string`
173623
173624 - `type: "http_error"`
173625
173626 - `"http_error"`
173627
172389 - `output: optional string or null`173628 - `output: optional string or null`
172390 173629
172391 The output from the tool call.173630 The output from the tool call.
173671 for reasoning items returned by `POST /v1/responses` and WebSocket174910 for reasoning items returned by `POST /v1/responses` and WebSocket
173672 `response.create` requests.174911 `response.create` requests.
173673 174912
174913 When streaming, use the completed reasoning item and its
174914 `encrypted_content` from the `response.output_item.done` event in
174915 subsequent requests. The `encrypted_content` in
174916 `response.output_item.added` may be incomplete. This is especially
174917 important when `store` is `false` or when using Zero Data Retention.
174918
173674 - `status: optional "in_progress" or "completed" or "incomplete"`174919 - `status: optional "in_progress" or "completed" or "incomplete"`
173675 174920
173676 The status of the item. One of `in_progress`, `completed`, or174921 The status of the item. One of `in_progress`, `completed`, or
176548 Unique identifier for the MCP tool call approval request.177793 Unique identifier for the MCP tool call approval request.
176549 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.177794 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
176550 177795
176551177796 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
176552 177797
176553 The error from the tool call, if any.177798 The error from the tool call, if any.
176554 177799
177800 - `string`
177801
177802 The error from the tool call, if any.
177803
177804 - `McpProtocolError object { code, message, type }`
177805
177806 - `code: number`
177807
177808 - `message: string`
177809
177810 - `type: "mcp_protocol_error"`
177811
177812 - `"mcp_protocol_error"`
177813
177814 - `McpToolExecutionError object { content, type }`
177815
177816 - `content: unknown`
177817
177818 - `type: "mcp_tool_execution_error"`
177819
177820 - `"mcp_tool_execution_error"`
177821
177822 - `HTTPError object { code, message, type }`
177823
177824 - `code: number`
177825
177826 - `message: string`
177827
177828 - `type: "http_error"`
177829
177830 - `"http_error"`
177831
176555 - `output: optional string or null`177832 - `output: optional string or null`
176556 177833
176557 The output from the tool call.177834 The output from the tool call.
179006 180283
179007 - `item: BetaResponseOutputItem`180284 - `item: BetaResponseOutputItem`
179008 180285
179009180286 The output item that was added. The output item that was added. For reasoning items, `encrypted_content`
180287 may be incomplete while the item is in progress. Use the reasoning item
180288 from the corresponding `response.output_item.done` event when passing it
180289 as input to a subsequent request.
179010 180290
179011 - `BetaResponseOutputMessage object { id, content, role, 4 more }`180291 - `BetaResponseOutputMessage object { id, content, role, 4 more }`
179012 180292
180094 181374
180095 Emitted when an annotation is added to output text content.181375 Emitted when an annotation is added to output text content.
180096 181376
180097181377 - `annotation: unknown` - `annotation: object { file_id, filename, index, type } or object { end_index, start_index, title, 2 more } or object { container_id, end_index, file_id, 3 more } or object { file_id, index, type } or null`
181378
181379 An annotation that applies to a span of output text.
181380
181381 - `FileCitation object { file_id, filename, index, type }`
181382
181383 A citation to a file.
181384
181385 - `file_id: string`
181386
181387 The ID of the file.
181388
181389 - `filename: string`
181390
181391 The filename of the file cited.
181392
181393 - `index: number`
181394
181395 The index of the file in the list of files.
181396
181397 - `type: "file_citation"`
181398
181399 The type of the file citation. Always `file_citation`.
181400
181401 - `"file_citation"`
181402
181403 - `URLCitation object { end_index, start_index, title, 2 more }`
181404
181405 A citation for a web resource used to generate a model response.
181406
181407 - `end_index: number`
181408
181409 The index of the last character of the URL citation in the message.
181410
181411 - `start_index: number`
181412
181413 The index of the first character of the URL citation in the message.
181414
181415 - `title: string`
181416
181417 The title of the web resource.
181418
181419 - `type: "url_citation"`
181420
181421 The type of the URL citation. Always `url_citation`.
181422
181423 - `"url_citation"`
181424
181425 - `url: string`
181426
181427 The URL of the web resource.
181428
181429 - `ContainerFileCitation object { container_id, end_index, file_id, 3 more }`
181430
181431 A citation for a container file used to generate a model response.
181432
181433 - `container_id: string`
181434
181435 The ID of the container file.
181436
181437 - `end_index: number`
181438
181439 The index of the last character of the container file citation in the message.
181440
181441 - `file_id: string`
181442
181443 The ID of the file.
181444
181445 - `filename: string`
181446
181447 The filename of the container file cited.
181448
181449 - `start_index: number`
181450
181451 The index of the first character of the container file citation in the message.
181452
181453 - `type: "container_file_citation"`
181454
181455 The type of the container file citation. Always `container_file_citation`.
181456
181457 - `"container_file_citation"`
181458
181459 - `FilePath object { file_id, index, type }`
180098 181460
180099181461 The annotation object being added. (See annotation schema for details.) A path to a file.
181462
181463 - `file_id: string`
181464
181465 The ID of the file.
181466
181467 - `index: number`
181468
181469 The index of the file in the list of files.
181470
181471 - `type: "file_path"`
181472
181473 The type of the file path. Always `file_path`.
181474
181475 - `"file_path"`
180100 181476
180101 - `annotation_index: number`181477 - `annotation_index: number`
180102 181478
184446 for reasoning items returned by `POST /v1/responses` and WebSocket185822 for reasoning items returned by `POST /v1/responses` and WebSocket
184447 `response.create` requests.185823 `response.create` requests.
184448 185824
185825 When streaming, use the completed reasoning item and its
185826 `encrypted_content` from the `response.output_item.done` event in
185827 subsequent requests. The `encrypted_content` in
185828 `response.output_item.added` may be incomplete. This is especially
185829 important when `store` is `false` or when using Zero Data Retention.
185830
184449 - `status: optional "in_progress" or "completed" or "incomplete"`185831 - `status: optional "in_progress" or "completed" or "incomplete"`
184450 185832
184451 The status of the item. One of `in_progress`, `completed`, or185833 The status of the item. One of `in_progress`, `completed`, or
185219 Unique identifier for the MCP tool call approval request.186601 Unique identifier for the MCP tool call approval request.
185220 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.186602 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
185221 186603
185222186604 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
186605
186606 The error from the tool call, if any.
186607
186608 - `string`
185223 186609
185224 The error from the tool call, if any.186610 The error from the tool call, if any.
185225 186611
186612 - `McpProtocolError object { code, message, type }`
186613
186614 - `code: number`
186615
186616 - `message: string`
186617
186618 - `type: "mcp_protocol_error"`
186619
186620 - `"mcp_protocol_error"`
186621
186622 - `McpToolExecutionError object { content, type }`
186623
186624 - `content: unknown`
186625
186626 - `type: "mcp_tool_execution_error"`
186627
186628 - `"mcp_tool_execution_error"`
186629
186630 - `HTTPError object { code, message, type }`
186631
186632 - `code: number`
186633
186634 - `message: string`
186635
186636 - `type: "http_error"`
186637
186638 - `"http_error"`
186639
185226 - `output: optional string or null`186640 - `output: optional string or null`
185227 186641
185228 The output from the tool call.186642 The output from the tool call.
190261 for reasoning items returned by `POST /v1/responses` and WebSocket191675 for reasoning items returned by `POST /v1/responses` and WebSocket
190262 `response.create` requests.191676 `response.create` requests.
190263 191677
191678 When streaming, use the completed reasoning item and its
191679 `encrypted_content` from the `response.output_item.done` event in
191680 subsequent requests. The `encrypted_content` in
191681 `response.output_item.added` may be incomplete. This is especially
191682 important when `store` is `false` or when using Zero Data Retention.
191683
190264 - `status: optional "in_progress" or "completed" or "incomplete"`191684 - `status: optional "in_progress" or "completed" or "incomplete"`
190265 191685
190266 The status of the item. One of `in_progress`, `completed`, or191686 The status of the item. One of `in_progress`, `completed`, or
191010 Unique identifier for the MCP tool call approval request.192430 Unique identifier for the MCP tool call approval request.
191011 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.192431 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
191012 192432
191013192433 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
191014 192434
191015 The error from the tool call, if any.192435 The error from the tool call, if any.
191016 192436
192437 - `string`
192438
192439 The error from the tool call, if any.
192440
192441 - `McpProtocolError object { code, message, type }`
192442
192443 - `code: number`
192444
192445 - `message: string`
192446
192447 - `type: "mcp_protocol_error"`
192448
192449 - `"mcp_protocol_error"`
192450
192451 - `McpToolExecutionError object { content, type }`
192452
192453 - `content: unknown`
192454
192455 - `type: "mcp_tool_execution_error"`
192456
192457 - `"mcp_tool_execution_error"`
192458
192459 - `HTTPError object { code, message, type }`
192460
192461 - `code: number`
192462
192463 - `message: string`
192464
192465 - `type: "http_error"`
192466
192467 - `"http_error"`
192468
191017 - `output: optional string or null`192469 - `output: optional string or null`
191018 192470
191019 The output from the tool call.192471 The output from the tool call.
191419 when the originating `response.create` event supplied a192871 when the originating `response.create` event supplied a
191420 `stream_id`.192872 `stream_id`.
191421 192873
191422 - `BetaResponseWsError = BetaResponseErrorEvent`
191423
191424 Emitted when an error occurs.
191425
191426 - `stream_id: optional string`
191427
191428 The WebSocket lane that emitted this event. This field is present
191429 when the originating `response.create` event supplied a
191430 `stream_id`.
191431
191432 - `BetaResponseFileSearchCallWsCompleted = BetaResponseFileSearchCallCompletedEvent`192874 - `BetaResponseFileSearchCallWsCompleted = BetaResponseFileSearchCallCompletedEvent`
191433 192875
191434 Emitted when a file search call is completed (results found).192876 Emitted when a file search call is completed (results found).
191819 when the originating `response.create` event supplied a193261 when the originating `response.create` event supplied a
191820 `stream_id`.193262 `stream_id`.
191821 193263
193264 - `BetaResponseWsError object { error, type, agent, 3 more }`
193265
193266 Emitted when an error occurs while processing a Responses WebSocket request.
193267
193268 - `error: object { code, message, param, 2 more }`
193269
193270 Details about the error.
193271
193272 - `code: string or null`
193273
193274 The error code that was emitted, if any.
193275
193276 - `message: string`
193277
193278 The human-readable error message that was emitted.
193279
193280 - `param: string or null`
193281
193282 The parameter name that was associated with the error, if any.
193283
193284 - `type: string`
193285
193286 The error type that was emitted.
193287
193288 - `headers: optional map[string]`
193289
193290 The response headers that were emitted with the error, if any.
193291
193292 - `type: "error"`
193293
193294 The type of the event. Always `error`.
193295
193296 - `"error"`
193297
193298 - `agent: optional object { agent_name } or null`
193299
193300 The agent that owns this multi-agent streaming event.
193301
193302 - `agent_name: string`
193303
193304 The canonical name of the agent that produced this item.
193305
193306 - `sequence_number: optional number`
193307
193308 The sequence number of an error emitted by the response stream.
193309
193310 - `status: optional number`
193311
193312 The HTTP status code associated with a WebSocket protocol error.
193313
193314 - `stream_id: optional string`
193315
193316 The WebSocket lane that emitted this event. This field is present when the
193317 originating `response.create` event supplied a `stream_id`.
193318
191822 - `BetaResponseInjectCreatedEvent object { response_id, sequence_number, type, stream_id }`193319 - `BetaResponseInjectCreatedEvent object { response_id, sequence_number, type, stream_id }`
191823 193320
191824 Emitted when all injected input items were validated and committed to the193321 Emitted when all injected input items were validated and committed to the
195621 for reasoning items returned by `POST /v1/responses` and WebSocket197118 for reasoning items returned by `POST /v1/responses` and WebSocket
195622 `response.create` requests.197119 `response.create` requests.
195623 197120
197121 When streaming, use the completed reasoning item and its
197122 `encrypted_content` from the `response.output_item.done` event in
197123 subsequent requests. The `encrypted_content` in
197124 `response.output_item.added` may be incomplete. This is especially
197125 important when `store` is `false` or when using Zero Data Retention.
197126
195624 - `status: optional "in_progress" or "completed" or "incomplete"`197127 - `status: optional "in_progress" or "completed" or "incomplete"`
195625 197128
195626 The status of the item. One of `in_progress`, `completed`, or197129 The status of the item. One of `in_progress`, `completed`, or
196394 Unique identifier for the MCP tool call approval request.197897 Unique identifier for the MCP tool call approval request.
196395 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.197898 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
196396 197899
196397197900 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
197901
197902 The error from the tool call, if any.
197903
197904 - `string`
196398 197905
196399 The error from the tool call, if any.197906 The error from the tool call, if any.
196400 197907
197908 - `McpProtocolError object { code, message, type }`
197909
197910 - `code: number`
197911
197912 - `message: string`
197913
197914 - `type: "mcp_protocol_error"`
197915
197916 - `"mcp_protocol_error"`
197917
197918 - `McpToolExecutionError object { content, type }`
197919
197920 - `content: unknown`
197921
197922 - `type: "mcp_tool_execution_error"`
197923
197924 - `"mcp_tool_execution_error"`
197925
197926 - `HTTPError object { code, message, type }`
197927
197928 - `code: number`
197929
197930 - `message: string`
197931
197932 - `type: "http_error"`
197933
197934 - `"http_error"`
197935
196401 - `output: optional string or null`197936 - `output: optional string or null`
196402 197937
196403 The output from the tool call.197938 The output from the tool call.
200589 for reasoning items returned by `POST /v1/responses` and WebSocket202124 for reasoning items returned by `POST /v1/responses` and WebSocket
200590 `response.create` requests.202125 `response.create` requests.
200591 202126
202127 When streaming, use the completed reasoning item and its
202128 `encrypted_content` from the `response.output_item.done` event in
202129 subsequent requests. The `encrypted_content` in
202130 `response.output_item.added` may be incomplete. This is especially
202131 important when `store` is `false` or when using Zero Data Retention.
202132
200592 - `status: optional "in_progress" or "completed" or "incomplete"`202133 - `status: optional "in_progress" or "completed" or "incomplete"`
200593 202134
200594 The status of the item. One of `in_progress`, `completed`, or202135 The status of the item. One of `in_progress`, `completed`, or
201454 Unique identifier for the MCP tool call approval request.202995 Unique identifier for the MCP tool call approval request.
201455 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.202996 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
201456 202997
201457202998 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
202999
203000 The error from the tool call, if any.
203001
203002 - `string`
201458 203003
201459 The error from the tool call, if any.203004 The error from the tool call, if any.
201460 203005
203006 - `McpProtocolError object { code, message, type }`
203007
203008 - `code: number`
203009
203010 - `message: string`
203011
203012 - `type: "mcp_protocol_error"`
203013
203014 - `"mcp_protocol_error"`
203015
203016 - `McpToolExecutionError object { content, type }`
203017
203018 - `content: unknown`
203019
203020 - `type: "mcp_tool_execution_error"`
203021
203022 - `"mcp_tool_execution_error"`
203023
203024 - `HTTPError object { code, message, type }`
203025
203026 - `code: number`
203027
203028 - `message: string`
203029
203030 - `type: "http_error"`
203031
203032 - `"http_error"`
203033
201461 - `output: optional string or null`203034 - `output: optional string or null`
201462 203035
201463 The output from the tool call.203036 The output from the tool call.
205387 for reasoning items returned by `POST /v1/responses` and WebSocket206960 for reasoning items returned by `POST /v1/responses` and WebSocket
205388 `response.create` requests.206961 `response.create` requests.
205389 206962
206963 When streaming, use the completed reasoning item and its
206964 `encrypted_content` from the `response.output_item.done` event in
206965 subsequent requests. The `encrypted_content` in
206966 `response.output_item.added` may be incomplete. This is especially
206967 important when `store` is `false` or when using Zero Data Retention.
206968
205390 - `status: optional "in_progress" or "completed" or "incomplete"`206969 - `status: optional "in_progress" or "completed" or "incomplete"`
205391 206970
205392 The status of the item. One of `in_progress`, `completed`, or206971 The status of the item. One of `in_progress`, `completed`, or
206252 Unique identifier for the MCP tool call approval request.207831 Unique identifier for the MCP tool call approval request.
206253 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.207832 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
206254 207833
206255207834 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
207835
207836 The error from the tool call, if any.
207837
207838 - `string`
206256 207839
206257 The error from the tool call, if any.207840 The error from the tool call, if any.
206258 207841
207842 - `McpProtocolError object { code, message, type }`
207843
207844 - `code: number`
207845
207846 - `message: string`
207847
207848 - `type: "mcp_protocol_error"`
207849
207850 - `"mcp_protocol_error"`
207851
207852 - `McpToolExecutionError object { content, type }`
207853
207854 - `content: unknown`
207855
207856 - `type: "mcp_tool_execution_error"`
207857
207858 - `"mcp_tool_execution_error"`
207859
207860 - `HTTPError object { code, message, type }`
207861
207862 - `code: number`
207863
207864 - `message: string`
207865
207866 - `type: "http_error"`
207867
207868 - `"http_error"`
207869
206259 - `output: optional string or null`207870 - `output: optional string or null`
206260 207871
206261 The output from the tool call.207872 The output from the tool call.
210250 for reasoning items returned by `POST /v1/responses` and WebSocket211861 for reasoning items returned by `POST /v1/responses` and WebSocket
210251 `response.create` requests.211862 `response.create` requests.
210252 211863
211864 When streaming, use the completed reasoning item and its
211865 `encrypted_content` from the `response.output_item.done` event in
211866 subsequent requests. The `encrypted_content` in
211867 `response.output_item.added` may be incomplete. This is especially
211868 important when `store` is `false` or when using Zero Data Retention.
211869
210253 - `status: optional "in_progress" or "completed" or "incomplete"`211870 - `status: optional "in_progress" or "completed" or "incomplete"`
210254 211871
210255 The status of the item. One of `in_progress`, `completed`, or211872 The status of the item. One of `in_progress`, `completed`, or
211023 Unique identifier for the MCP tool call approval request.212640 Unique identifier for the MCP tool call approval request.
211024 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.212641 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
211025 212642
211026212643 - `error: optional string or null` - `error: optional string or object { code, message, type } or object { content, type } or object { code, message, type } or null`
212644
212645 The error from the tool call, if any.
212646
212647 - `string`
211027 212648
211028 The error from the tool call, if any.212649 The error from the tool call, if any.
211029 212650
212651 - `McpProtocolError object { code, message, type }`
212652
212653 - `code: number`
212654
212655 - `message: string`
212656
212657 - `type: "mcp_protocol_error"`
212658
212659 - `"mcp_protocol_error"`
212660
212661 - `McpToolExecutionError object { content, type }`
212662
212663 - `content: unknown`
212664
212665 - `type: "mcp_tool_execution_error"`
212666
212667 - `"mcp_tool_execution_error"`
212668
212669 - `HTTPError object { code, message, type }`
212670
212671 - `code: number`
212672
212673 - `message: string`
212674
212675 - `type: "http_error"`
212676
212677 - `"http_error"`
212678
211030 - `output: optional string or null`212679 - `output: optional string or null`
211031 212680
211032 The output from the tool call.212681 The output from the tool call.