1107 1107
1108 - `"input_text"`1108 - `"input_text"`
1109 1109
1110 - `prompt_cache_breakpoint: optional object { mode } or null`1110 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
1111 1111
1112 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.1112 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
1113 1113
1117 1117
1118 - `"explicit"`1118 - `"explicit"`
1119 1119
1120 - `ttl: optional "30m" or "12h"`
1121
1122 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
1123
1124 - `"30m"`
1125
1126 - `"12h"`
1127
1120 - `ResponseInputImageContent object { type, detail, file_id, 2 more }`1128 - `ResponseInputImageContent object { type, detail, file_id, 2 more }`
1121 1129
1122 An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision)1130 An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision)
1139 1147
1140 The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.1148 The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
1141 1149
1142 - `prompt_cache_breakpoint: optional object { mode } or null`1150 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
1143 1151
1144 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.1152 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
1145 1153
1149 1157
1150 - `"explicit"`1158 - `"explicit"`
1151 1159
1160 - `ttl: optional "30m" or "12h"`
1161
1162 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
1163
1164 - `"30m"`
1165
1166 - `"12h"`
1167
1152 - `ResponseInputFileContent object { type, detail, file_data, 4 more }`1168 - `ResponseInputFileContent object { type, detail, file_data, 4 more }`
1153 1169
1154 A file input to the model.1170 A file input to the model.
1185 1201
1186 The name of the file to be sent to the model.1202 The name of the file to be sent to the model.
1187 1203
1188 - `prompt_cache_breakpoint: optional object { mode } or null`1204 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
1189 1205
1190 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.1206 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
1191 1207
1195 1211
1196 - `"explicit"`1212 - `"explicit"`
1197 1213
1214 - `ttl: optional "30m" or "12h"`
1215
1216 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
1217
1218 - `"30m"`
1219
1220 - `"12h"`
1221
1198 - `type: "function_call_output"`1222 - `type: "function_call_output"`
1199 1223
1200 The type of the function tool call output. Always `function_call_output`.1224 The type of the function tool call output. Always `function_call_output`.
7316 7340
7317 - `"input_text"`7341 - `"input_text"`
7318 7342
7319 - `prompt_cache_breakpoint: optional object { mode } or null`7343 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
7320 7344
7321 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.7345 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
7322 7346
7326 7350
7327 - `"explicit"`7351 - `"explicit"`
7328 7352
7353 - `ttl: optional "30m" or "12h"`
7354
7355 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
7356
7357 - `"30m"`
7358
7359 - `"12h"`
7360
7329 - `ResponseInputImageContent object { type, detail, file_id, 2 more }`7361 - `ResponseInputImageContent object { type, detail, file_id, 2 more }`
7330 7362
7331 An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision)7363 An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision)
7348 7380
7349 The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.7381 The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
7350 7382
7351 - `prompt_cache_breakpoint: optional object { mode } or null`7383 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
7352 7384
7353 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.7385 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
7354 7386
7358 7390
7359 - `"explicit"`7391 - `"explicit"`
7360 7392
7393 - `ttl: optional "30m" or "12h"`
7394
7395 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
7396
7397 - `"30m"`
7398
7399 - `"12h"`
7400
7361 - `ResponseInputFileContent object { type, detail, file_data, 4 more }`7401 - `ResponseInputFileContent object { type, detail, file_data, 4 more }`
7362 7402
7363 A file input to the model.7403 A file input to the model.
7394 7434
7395 The name of the file to be sent to the model.7435 The name of the file to be sent to the model.
7396 7436
7397 - `prompt_cache_breakpoint: optional object { mode } or null`7437 - `prompt_cache_breakpoint: optional object { mode, ttl } or null`
7398 7438
7399 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.7439 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
7400 7440
7404 7444
7405 - `"explicit"`7445 - `"explicit"`
7406 7446
7447 - `ttl: optional "30m" or "12h"`
7448
7449 The minimum lifetime of this cache breakpoint. Defaults to the request TTL.
7450
7451 - `"30m"`
7452
7453 - `"12h"`
7454
7407 - `type: "function_call_output"`7455 - `type: "function_call_output"`
7408 7456
7409 The type of the function tool call output. Always `function_call_output`.7457 The type of the function tool call output. Always `function_call_output`.