Skip to main content

entity

Query

Returns the single entity matching the lookup key, or null if there is none.

entity(by: EntityLookup!): Entity

Arguments​

ArgumentTypeDefaultDescription
byEntityLookup!

Returns​

Entity: Any graph-backed entity.

Example​

Request
query Entity($by: EntityLookup!) {
entity(by: $by) {
__typename
}
}