Retrieve information about a specific file.
GET
/files/{file_id}
Authorization
AuthorizationRequiredBearer <token>
In: header
Path Parameters
file_idRequiredstring
The ID of the file to retrieve.
Example
Request
Response
List files
List every file uploaded to Upstage Agents. Covers the list object returned (a data array of file objects with id, bytes, filename, purpose) and an example request and response.
Delete file
Remove an uploaded file so it can no longer be used as agent input. Covers the file_id path parameter, the deletion object returned (id, object, deleted), and an example request and response.