# Get Temporary File

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get Temporary File"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v1/workspaces/{workspace_name}/temporary_files/{file_id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

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.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./get-temporary-file-api-v-1-workspaces-workspace-name-temporary-files-file-id-get.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./get-temporary-file-api-v-1-workspaces-workspace-name-temporary-files-file-id-get.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./get-temporary-file-api-v-1-workspaces-workspace-name-temporary-files-file-id-get.StatusCodes.json")}
>
  
</StatusCodes>
