v5
latestOpenAPI 3.1.02026-08-04166362486.5 KBresponses
Upload a response attachment
Upload an attachment for use as response input.
The returned ID is referenced from input_image or input_file content parts of a user message. An attachment becomes part of its conversation when the referencing response is stored and is deleted with the conversation; attachments never referenced by a stored response expire.
post/v1/responses/attachments
Response
The staged attachment, referenced from response input via its ID