Download Agent Response File
Agent API
Download Agent Response File
Download the raw bytes of a file the response delivered with the share_file tool. The file_id comes from the file list endpoint and is distinct from the response id. The response streams raw bytes, not JSON, with a Content-Type matching the file and a Content-Disposition: attachment header carrying the original filename.
GET
Download Agent Response File
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response id (resp_<...>)
File id from the file list endpoint
Response
The raw file bytes.
The response is of type file.