@@ -595,8 +595,14 @@ export interface Response {
595595 background ?: boolean | null ;
596596
597597 /**
598- * The conversation that this response belongs to. Input items and output items
599- * from this response are automatically added to this conversation.
598+ * Unix timestamp (in seconds) of when this Response was completed. Only present
599+ * when the status is `completed`.
600+ */
601+ completed_at ?: number | null ;
602+
603+ /**
604+ * The conversation that this response belonged to. Input items and output items
605+ * from this response were automatically added to this conversation.
600606 */
601607 conversation ?: Response . Conversation | null ;
602608
@@ -727,12 +733,12 @@ export namespace Response {
727733 }
728734
729735 /**
730- * The conversation that this response belongs to. Input items and output items
731- * from this response are automatically added to this conversation.
736+ * The conversation that this response belonged to. Input items and output items
737+ * from this response were automatically added to this conversation.
732738 */
733739 export interface Conversation {
734740 /**
735- * The unique ID of the conversation.
741+ * The unique ID of the conversation that this response was associated with .
736742 */
737743 id : string ;
738744 }
@@ -1159,13 +1165,19 @@ export interface ResponseCompactionItem {
11591165 */
11601166 id : string ;
11611167
1168+ /**
1169+ * The encrypted content that was produced by compaction.
1170+ */
11621171 encrypted_content : string ;
11631172
11641173 /**
11651174 * The type of the item. Always `compaction`.
11661175 */
11671176 type : 'compaction' ;
11681177
1178+ /**
1179+ * The identifier of the actor that created the item.
1180+ */
11691181 created_by ?: string ;
11701182}
11711183
@@ -1174,6 +1186,9 @@ export interface ResponseCompactionItem {
11741186 * [`v1/responses/compact` API](https://platform.openai.com/docs/api-reference/responses/compact).
11751187 */
11761188export interface ResponseCompactionItemParam {
1189+ /**
1190+ * The encrypted content of the compaction summary.
1191+ */
11771192 encrypted_content : string ;
11781193
11791194 /**
@@ -2172,13 +2187,16 @@ export interface ResponseFunctionCallArgumentsDoneEvent {
21722187}
21732188
21742189/**
2175- * A text input to the model .
2190+ * A piece of message content, such as text, an image, or a file .
21762191 */
21772192export type ResponseFunctionCallOutputItem =
21782193 | ResponseInputTextContent
21792194 | ResponseInputImageContent
21802195 | ResponseInputFileContent ;
21812196
2197+ /**
2198+ * An array of content outputs (text, image, file) for the function tool call.
2199+ */
21822200export type ResponseFunctionCallOutputItemList = Array < ResponseFunctionCallOutputItem > ;
21832201
21842202/**
@@ -2285,7 +2303,7 @@ export namespace ResponseFunctionShellToolCall {
22852303}
22862304
22872305/**
2288- * The output of a shell tool call.
2306+ * The output of a shell tool call that was emitted .
22892307 */
22902308export interface ResponseFunctionShellToolCallOutput {
22912309 /**
@@ -2315,12 +2333,15 @@ export interface ResponseFunctionShellToolCallOutput {
23152333 */
23162334 type : 'shell_call_output' ;
23172335
2336+ /**
2337+ * The identifier of the actor that created the item.
2338+ */
23182339 created_by ?: string ;
23192340}
23202341
23212342export namespace ResponseFunctionShellToolCallOutput {
23222343 /**
2323- * The content of a shell call output.
2344+ * The content of a shell tool call output that was emitted .
23242345 */
23252346 export interface Output {
23262347 /**
@@ -2329,10 +2350,19 @@ export namespace ResponseFunctionShellToolCallOutput {
23292350 */
23302351 outcome : Output . Timeout | Output . Exit ;
23312352
2353+ /**
2354+ * The standard error output that was captured.
2355+ */
23322356 stderr : string ;
23332357
2358+ /**
2359+ * The standard output that was captured.
2360+ */
23342361 stdout : string ;
23352362
2363+ /**
2364+ * The identifier of the actor that created the item.
2365+ */
23362366 created_by ?: string ;
23372367 }
23382368
@@ -2471,7 +2501,7 @@ export namespace ResponseFunctionWebSearch {
24712501 */
24722502 export interface Search {
24732503 /**
2474- * The search query.
2504+ * [DEPRECATED] The search query.
24752505 */
24762506 query : string ;
24772507
@@ -2480,6 +2510,11 @@ export namespace ResponseFunctionWebSearch {
24802510 */
24812511 type : 'search' ;
24822512
2513+ /**
2514+ * The search queries.
2515+ */
2516+ queries ?: Array < string > ;
2517+
24832518 /**
24842519 * The sources used in the search.
24852520 */
@@ -5731,6 +5766,9 @@ export namespace Tool {
57315766 */
57325767 file_ids ?: Array < string > ;
57335768
5769+ /**
5770+ * The memory limit for the code interpreter container.
5771+ */
57345772 memory_limit ?: '1g' | '4g' | '16g' | '64g' | null ;
57355773 }
57365774 }
0 commit comments