# Get Trial Directory

**URL:** https://discuss.ray.io/t/get-trial-directory/13554
**Category:** Ray Train
**Created:** [January 26, 2024, 3:39pm UTC](https://discuss.ray.io/t/get-trial-directory/13554 "2024-01-26T15:39:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sgerber-hf](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sgerber-hf/32/5665_2.png) [@sgerber-hf](https://discuss.ray.io/u/sgerber-hf)
#### Post date: [January 26, 2024, 3:39pm UTC](https://discuss.ray.io/t/get-trial-directory/13554/1 "2024-01-26T15:39:09Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Low

I am trying to figure out how to get the trial directory being used by ray train (TorchTrainer in my case), such that I can use `ray.train.Result.from_path`  
I see in the code `logdir=session.get_trial_dir()` being used but that seems to be an internal API. Is there a public API call to get that directory?
