GraphQL Introspection Guide

GraphQL Introspection Guide

New Endpoint

GraphQL API: POST

Payload Examples

Example 1: Get Root Query Details

{
  __schema {
    queryType {
      name
    }
  }
  __type(name: "RootQuery") {
    name
    fields {
      name
      type {
        name
        kind
        ofType {
          name
          kind
        }
      }
    }
  }
}
        

Example 2: Inspect a Specific Type

{
  __type(name: "SsaPricedDealsType") {
    name
    fields {
      name
      type {
        name
        kind
        ofType {
          name
          kind
        }
      }
    }
  }
}
        

Legacy Endpoint

REST API: POST

The standard GraphQL response format is not available for this endpoint.

Learn More

Visit the GraphQL Introspection Documentation for additional details.