# Schema of an existing Dgraph database

**URL:** <https://discuss.dgraph.io/t/schema-of-an-existing-dgraph-database/3282>\
**Category:** Users\
**Created:** [September 25, 2018, 10:28am UTC](https://discuss.dgraph.io/t/schema-of-an-existing-dgraph-database/3282 "2018-09-25T10:28:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amandalmia14](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@amandalmia14](https://discuss.dgraph.io/u/amandalmia14)\
**Post date:** [September 25, 2018, 10:28am UTC](https://discuss.dgraph.io/t/schema-of-an-existing-dgraph-database/3282/1 "2018-09-25T10:28:49Z")

</div>

Hi,  
Is it possible to get the schema of a running Dgraph database by querying?

Thanks

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [September 25, 2018, 2:54pm UTC](https://discuss.dgraph.io/t/schema-of-an-existing-dgraph-database/3282/2 "2018-09-25T14:54:46Z")

</div>

Yes, [https://docs.dgraph.io/query-language#querying-schema](https://docs.dgraph.io/query-language#querying-schema)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/2/2b38fdece2abe5814f2e51bee69d1e67fc304b0a.png) [@system](https://discuss.dgraph.io/u/system)\
**Post date:** [October 25, 2018, 3:02pm UTC](https://discuss.dgraph.io/t/schema-of-an-existing-dgraph-database/3282/3 "2018-10-25T15:02:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
