# Space status through api

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-status-through-api%2F91336%3E%5C
**Category:** Spaces\
**Created:** [June 10, 2024, 2:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-status-through-api%2F91336 "2024-06-10T14:01:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chsafouane](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/chsafouane/32/26450_2.png) [@chsafouane](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fchsafouane)%5C
**Post date:** [June 10, 2024, 2:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-status-through-api%2F91336%2F1 "2024-06-10T14:01:53Z")

</div>

I’m using autotrain to train a model. When the model is trained, the space is paused.

Is there a way to know the state of a space using huggingface\_hub API ?
