Get Temporary File
GET/api/v1/workspaces/:workspace_name/temporary_files/:file_id
Retrieves the file contents of temporary files.
:param session: The database session. :param file_id: The ID of the file to retrieve. :param workspace: The workspace from which to retrieve the file.
Request
Responses
- 200
- 404
- 422
- 500
Successful Response
There's no file with the ID '<file_id>' in the workspace. Check if the ID is correct. You can use the list_files endpoint to check file IDs.
Validation Error
File with the ID '{file_id}' doesn't have a type.
Was this page helpful?