# Introspection on Dgraph-generated types

**URL:** <https://discuss.dgraph.io/t/introspection-on-dgraph-generated-types/6417>\
**Category:** GraphQL\
**Tags:** graphql\
**Created:** [April 23, 2020, 11:58am UTC](https://discuss.dgraph.io/t/introspection-on-dgraph-generated-types/6417 "2020-04-23T11:58:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![forstmeier](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/forstmeier/32/2611_2.png) [@forstmeier](https://discuss.dgraph.io/u/forstmeier)\
**Post date:** [April 23, 2020, 11:58am UTC](https://discuss.dgraph.io/t/introspection-on-dgraph-generated-types/6417/1 "2020-04-23T11:58:24Z")

</div>

Hi!

I haven’t been able to figure out the best way to perform an introspection against what the Dgraph-generated types look like. From the [schema](https://graphql.dgraph.io/docs/schema/) docs:

> For each type, Dgraph generates a number of GraphQL types needed to operate the GraphQL API, these generated type names also can’t be present in the input schema. For example, for a type `Author` , Dgraph generates `AuthorFilter` , `AuthorOrderable` , `AuthorOrder` , `AuthorRef` , `AddAuthorInput` , `UpdateAuthorInput` , `AuthorPatch` , `AddAuthorPayload` , `DeleteAuthorPayload` and `UpdateAuthorPayload` . Thus if `Author` is present in the input schema, all of those become reserved type names.

How can I tell what the individual payloads look like? I was able to figure out some of the inputs through trial and error but the outputs (e.g. `DeleteAuthorPayload`) remains illusive.

I also have a couple other questions [on another thread](http://discuss.hypermode.com/t/graphql-endpoint-with-generated-api-introspection-and-mutation-behavior/6369) regarding best practices.

Best,  
John

---

<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:** [May 23, 2020, 11:58am UTC](https://discuss.dgraph.io/t/introspection-on-dgraph-generated-types/6417/2 "2020-05-23T11:58:26Z")

</div>

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