GET
/files/{file_id}Retrieve a File
Retrieves a File by its identifier. Use file_id to identify the File whose metadata you need.
file_idstringrequired
The identifier of the File to retrieve.
200Returns the File, including its identifier, creation time, purpose, direction, MIME type, and filename.
created_atstringrequired
The time the File was created.
descriptionstringrequired
A description of the File.
directionstringrequired
Whether the File was generated by Increase or by you and sent to Increase.
filenamestringrequired
The filename that was provided upon upload or generated by Increase.
idstringrequired
The File's identifier.
idempotency_keystringrequired
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
mime_typestringrequired
The MIME type of the file.
purposestringrequired
What the File will be used for. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
typestringrequired
A constant representing the object's type. For this resource it will always be `file`.
4XXReturned when the request has a client-side error.
5XXReturned when the server encounters an error processing the request.
Error handling
The file_id path parameter must identify an existing File.